Skip to content

[Docs] Changed Connector tool mode to Pen tool mode #475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 14 additions & 6 deletions content/en/kanvas/designer/understanding-tool-modes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@ Cursor style: “custom(pencil)”
1. *In the future, the canvas moves with the pen/pencil as they near the edge of the viewport.*
2. *In the future, the scroll wheel will behave as it normally does in default mode.* -->

#### Connector Tool Mode
#### Pen Tool Mode

The Connector tool operates as a creator of annotation relationships. Note that the connector tool has two behaviors depending upon the context in which you initiate the connection.
The Pen tool operates as a creator of annotation relationships. Note that the pen tool has two behaviors depending upon the context in which you initiate the connection.

The Pen Tool Mode is activated using **CMD+E**.

{{< alert title="Connector Behaviors">}}
**Component-connect Behavior**: When you click an empty spot on the canvas, and drag to another empty spot on the canvas, you get a **joint** (aka a terminal node) from which you can create new connections as well as new edge relationships.
Expand All @@ -103,7 +105,7 @@ The Connector tool operates as a creator of annotation relationships. Note that

<img style="width:250px;" src="./tool-mode-placeholder.svg" />

Cursor style: “connector (pen)” (*might* change in the future)
Cursor style: “pen

**Mouse down and drag:** Nothing

Expand All @@ -113,17 +115,23 @@ Creating connections happens in three phases.

<img style="width:250px;" src="./tool-mode-placeholder.svg" />

Cursor style: “connector (pen)
Cursor style: “pen”
1. **Click and move:** if a connection was initiated, moves the ghost edge around else does nothing.

<img style="width:250px;" src="./tool-mode-placeholder.svg" />

Cursor style: “connector (pen)” and the annotation edge following the mouse around.
Cursor style: “pen” and the annotation edge following the mouse around.
1. **Click while connecting**: Establish and render connection.

<img style="width:250px;" src="./tool-mode-placeholder.svg" />

Cursor style: “connector (pen)”
Cursor style: “pen”

**How to Draw and Connect Lines**<br>
<img style="width:500px;" src="./draw_line.gif" />

**How to customize nodes at the ends of connections**<br>
<img style="width:500px;" src="./customize_end.gif" />

<!--
*Developer notes:*
Expand Down