Connecting with arrows

Arrows are orthogonal lines that route themselves, follow the items they're attached to and keep any segment you pin.

Draw an arrow#

Point at an item, or at a group's border: a round handle appears in the middle of each side. Drag from one to another item's edge to attach the end there, or let go anywhere else to leave it free.

  • Letting go without moving adds no arrow.
  • The handles don't appear on items that are part of a larger selection, while you're editing text, or when the item is too small on screen.
  • The shape picker connects the item it adds to the selected one, or to the free end of the selected arrow.

Attached and free ends#

An attached end follows its item's side when the item moves or resizes. A free end stays at its point on the canvas. Drag an end's square handle to:

  • attach it: drag it close to an item's edge and it snaps on,
  • slide it along its side, snapping to the middle as you pass it,
  • move it to another side or another item,
  • detach it: let go on empty canvas.

Hold Ctrl while you drag to turn off snapping to the grid and to edges. An arrow with two free ends can be moved by dragging its line.

Adjust the route#

Automatic routes leave the start side, usually bend halfway between the two items and enter the end side.

A route only avoids the arrow's own two items, so it can cross others. Pin a segment into the gap to keep it clear.

Select a single arrow to show a handle on each segment:

  • Drag a segment's handle to move the segment sideways. This pins it, and its handle turns blue.
  • On a long segment, the handles a quarter of the way in move only that half, adding a step.
  • If you move one of the arrow's items, its pinned segments stay where they are. If you move both, the pins move with them. Pins a move makes unnecessary are dropped.

There's no reset command: undo the change that pinned the route, or delete the arrow's frozen list in the code panel.

Style and labels#

The style toolbar's Arrows section sets the line's color, width and style (Solid, Dashed, Dotted), which ends get heads (No heads, End, Start, Both ends) and the head's style. See Styling items.

Double-click an arrow to add a label where you clicked. See Arrow labels. How ends, pins and labels are stored is in Arrows.

Delete an arrow#

Select it and press Delete or Backspace. Deleting an item deletes the arrows attached to it.