Skip to main content

checkpoints

When true, the edge is routed through fixed waypoints read from edge.data.checkpoints. Each segment still uses pathfinding. No draggable control points are rendered.

Typeboolean
Defaultfalse
createSmartEdge("step", { checkpoints: true, gridRatio: 5 });

Or use SmartCheckpointEdge directly.

Checkpoints persist on edge.data.checkpoints as { x, y }[]. See Checkpoint edges.

If both checkpoints and editable are true, editable waypoints take precedence and checkpoints is ignored.