Skip to content

Connections

Connections link nodes together with arrows. Draph supports smart routing, labels, and multiple line styles.

  1. Switch to Select mode (V)
  2. Hover over a node - connection points appear (small circles on each edge)
  3. Click and drag from a connection point
  4. Drop on another node’s connection point
  1. Drag from a connection point to empty canvas space
  2. A picker appears with node type options
  3. Click a shape - the new node is created and connected
PropertyTypeDescription
idstringUnique identifier
fromstringSource node ID
tostringTarget node ID
fromSidestringSource edge: top, right, bottom, left
toSidestringTarget edge
labelstringText label on the connection
colorhexLine color
lineStylestringsolid or dashed

Connections curve smoothly around corners. Best for most diagrams.

Toggle in the top toolbar or set globally.

Direct point-to-point connections with sharp corners.

Select a connection to see its toolbar:

Options:

  • Color - Line color from palette
  • Solid/Dashed - Line style toggle
  • Delete - Remove connection

Add labels to connections for flow descriptions, conditions, etc.

  1. Select the connection
  2. Double-click or use the label field in the toolbar
  3. Type your label text

Labels appear at the midpoint of the connection. For decision flows, common labels include:

  • Yes / No
  • True / False
  • Success / Failure

For sequence diagrams, connections become horizontal messages between lifelines.

PropertyTypeDescription
isSequenceMessagebooleanRender as horizontal message
messageYnumberY position of the message line
indexnumberMessage order (vertical positioning)
arrowstringArrow style
SyntaxDescription
->>Solid arrow, filled head (sync)
-->>Dashed arrow, filled head (response)
-)Solid arrow, open head (async)
--)Dashed arrow, open head (async response)
  • Multi-point connections: Connections automatically route around nodes
  • Reconnect: Drag a connection endpoint to move it to a different node
  • Parallel connections: Multiple connections between the same nodes are supported
  • Self-reference: Connect a node to itself for loops/recursion