Skip to content

Edge Types & Markers

All six built-in path algorithms of BlowEdgeType side by side - bezier, simple bezier, straight, step, smooth step and routed - each with a different arrowhead set up from the edge's Marker* properties. The toolbar picks the type of the edges you draw yourself.

drag from a node's right handle to another node's left one
beziersimple bezier, closed headstraight, no headstep, both endssmooth step, animatedrouted
A
B
C
D
E
F
G
H
I
J
K
L
in the way
bit Blow

Try it

  • Compare the six pairs: each edge is labelled with its path type and ends in a different arrowhead.
  • Drag a target node above or behind its source and watch how each type re-plans its path - bezier bends out further the more it has to double back, step and smooth step turn at right angles, straight ignores the sides altogether.
  • Drag the dashed "in the way" node about: the routed edge from K to L steers round it, and falls back to a smooth step when no way round is left.
  • Pick a type under New edges, then drag from any node's right handle to another node's left handle: both the line you drag and the edge it leaves behind use that type.

How it works

  • Type on a BlowEdge picks its path; it defaults to Bezier. SimpleBezier keeps its control points on the handle axis for a flatter curve, and Routed runs orthogonal segments round the nodes near it, using the canvas's Routing (the built-in router when null).
  • MarkerEnd (on by default) and MarkerStart draw arrowheads; MarkerType is Arrow (open) or ArrowClosed. The straight edge turns MarkerEnd off and the step edge turns MarkerStart on.
  • An arrowhead takes the edge's own colour unless MarkerColor says otherwise; MarkerWidth (7, or 8 for a closed head) and MarkerHeight size it - the smooth-step edge has a large red head.
  • Animated runs dashes along the smooth-step edge; Label draws the text at each path's middle.
  • DefaultEdgeType is the type of edges the user creates and ConnectionLineType the type of the line drawn while creating one; both follow the toolbar here. Neither changes edges that are already in the list.
  • SourcePosition = Right and TargetPosition = Left on the nodes move their built-in handles to the sides, so every pair reads left to right.
An unhandled error has occurred. Reload 🗙