Skip to main content

FlowLayoutElk

Canvas

layoutFlowElk lays a graph out with ELK’s layered algorithm — same result shape as layoutFlow, plus the engine that answered.

Examples

3 live examples

Backbone

The most frequent variant pinned to one straight row with `pinBackbone`.

Dagre Fallback

elkjs unavailable: the engine loader rejects the way a missing optional peer does, and the graph is laid out by dagre instead — a console warning in development, never a crash.