The same drag can do two different things on a Grid. In select mode it moves a node, or draws a selection box when it starts on empty canvas. In pan mode it moves the camera and every node stays where it is. So when you drag and nothing selects, check the mode first.
The toggle and the Space key
The toggle sits at the top of the component palette: the arrow is Pointer selection and the hand is Pan canvas. In pan mode the cursor over the canvas becomes a grab hand. In select mode, hold Space and drag to look around; let go of the key and you are back to selecting. Space does not pan while you are typing in a text field. The middle mouse button pans in either mode.
What each gesture does in select mode
- Click a node to select it. Click empty canvas to deselect.
- Drag a node that is not selected and it is selected and moved in one gesture, so you do not have to click first.
- Drag across empty canvas to draw a marquee, a selection box. Every node it touches is selected, even when the box covers only part of the card.
- Drag any selected node and the rest of the selection follows. To line a selection up instead, see Working faster: shortcuts, search and tidy.
- Shift-click a node to add it to the selection or take it out. Hold Shift while drawing a marquee to add to what is already selected.
Try it: click a node to select it, drag it to move, or drag from empty canvas across both to select them.
Moving more, or less, than you meant
- Dragging a member of an old selection. Grabbing a node that is still part of a multi-selection moves the whole selection with it, and clicking that node does not shrink the selection. Click empty canvas first when you mean to move just one.
- Moving a cluster one node at a time. Nudging nodes over one by one loses the layout. If they belong together, marquee them and move the selection.
- Starting a marquee inside a frame. A frame is not empty canvas, so the press grabs the frame instead; start the box outside it. Organizing large diagrams: frames, groups & annotations covers what a frame does to a drag.
Four nodes, one loop
On a blank Grid, place four nodes (Build your first diagram has the steps). Marquee two and move them together, click empty canvas, then drag a third on its own. On the Expense Splitting Challenge, once the design has grown, marquee the payment gateway and the node that calls it, and shift them clear as a block.