LayoutEngineInput
Defined in: src/layout/engine.ts:15
The graph a layout engine positions. May change in a minor release until pluggable layout engines ship.
Properties
Section titled “Properties”direction
Section titled “direction”direction: LayoutDirection;Defined in: src/layout/engine.ts:17
Direction the graph flows in.
edges: LayoutEngineEdge[];Defined in: src/layout/engine.ts:19
Every edge to route, including ones that do not rank nodes (visualOnly).
nodes: LayoutEngineNode[];Defined in: src/layout/engine.ts:23
Every node to position, containers and their children alike.
nodeSeparation
Section titled “nodeSeparation”nodeSeparation: number;Defined in: src/layout/engine.ts:21
Minimum horizontal gap between nodes in the same rank, in pixels.
padding
Section titled “padding”padding: number;Defined in: src/layout/engine.ts:25
Margin around the whole graph, in pixels.
rankSeparation
Section titled “rankSeparation”rankSeparation: number;Defined in: src/layout/engine.ts:27
Minimum gap between ranks, in pixels.