Skip to content

Commit

Permalink
#1938 Add GIFs to docs for different selection gestures (#1939)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlyn authored May 15, 2024
1 parent 2dad65f commit 2c741d6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/pages/01.01-flow-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,18 @@ Clicking on the flow editor canvas background will deselect all canvas objects.

A selection region can be pulled out to select multiple objects at once by pressing the `Shift key and dragging` on the canvas background.

A set of connected nodes through a flow can be selected by, clicking on a node to select it and then, `Shift + click` another node. If the nodes are joined together through a set of inter-connected nodes, all of those nodes will be selected.
<img src="../assets/cc-flow-editor-region-select.gif" width="700" />

A set of connected nodes through a flow can be selected by, clicking on a node to select it and then, `Shift + click` another **downstream** node. If the nodes are joined together through a set of inter-connected nodes, all of those nodes will be selected.

<img src="../assets/cc-flow-editor-linked-nodes-select.gif" width="700" />

All canvas objects can be selected by displaying the default context menu or context toolbar for the flow-editor background and then clicking the 'Select All' option. Note: If the application provides its own canvas menus then it would need to add the `selectAll` [internal action](03.11-internal-actions.md) to the menu to enable the 'select all' function.

Alternatively, the user can press `Ctrl/Command + a` [keyborad shortcut](03.05-keyboard-support.md) to select all objects when the keyboard focus is on the canvas.

<img src="../assets/cc-flow-editor-all-select.gif" width="700" />

## Create links

Links can be created by dragging from one node's output port to another node:
Expand Down
Binary file added docs/pages/assets/cc-flow-editor-all-select.gif
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2c741d6

Please sign in to comment.