Interface: LayoutResult
Where a layout put everything. Arrays are owned by the caller from here on.
Extended by
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
clusters? | readonly | readonly LayoutCluster[] | - |
hidden? | readonly | Uint8Array<ArrayBufferLike> | Nodes a layout left out (a collapsed subtree's descendants): 1 where the node is not drawn. Links with a hidden end are not drawn either. |
reversed? | readonly | Uint8Array<ArrayBufferLike> | Links the layout reversed to break cycles (layered): drawn in the back-edge style. |
routes? | readonly | readonly (LinkRoute | undefined)[] | Routes of the links that are not straight, by link index (sparse: undefined or a missing entry is a straight link). Indices are those of LayoutGraph.source. |
x | readonly | Float64Array | Node centers, one per node. Always finite. |
y | readonly | Float64Array | - |
z? | readonly | Float64Array<ArrayBufferLike> | Only from a 3D layout. |