LayoutEngineNode
Defined in: src/layout/engine.ts:35
One node to position. A node with children is an open container: the engine sizes
its box around those children.
May change in a minor release until pluggable layout engines ship.
Properties
Section titled “Properties”children?
Section titled “children?”children?: string[];Defined in: src/layout/engine.ts:41
Ids of the node’s direct children, when it is an open container. Lists every child, including the end-marker nodes that dagre lays out but leaves out of the container’s bounds; the contract cannot mark those nodes yet (#545).
height
Section titled “height”height: number;Defined in: src/layout/engine.ts:43
Height in pixels; for a container, the minimum height of its box.
id: string;Defined in: src/layout/engine.ts:45
The node’s graph id, as on StateNode.id.
padding?
Section titled “padding?”padding?: LayoutEnginePadding;Defined in: src/layout/engine.ts:47
Space between a container’s edge and its children, header band included.
shape: NodeShape;Defined in: src/layout/engine.ts:49
The node’s outline, which decides where edges meet it.
width: number;Defined in: src/layout/engine.ts:51
Width in pixels; for a container, the minimum width of its box.