Skip to content

Interface: Layered3dResult ​

What layeredLayout3d returns: positions, and where the planes are.

Extends ​

Properties ​

PropertyModifierTypeDescriptionOverridesInherited from
axisreadonly0 | 1 | 2---
clusters?readonlyreadonly LayoutCluster[]--LayoutResult.clusters
hidden?readonlyUint8Array<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.-LayoutResult.hidden
planesreadonlyFloat64ArrayThe coordinate of each plane along the axis, by rank: decreasing.--
rankreadonlyInt32ArrayThe rank (plane) of each node, from 0.--
reversedreadonlyUint8ArrayLinks the layout reversed to break cycles (layered): drawn in the back-edge style.LayoutResult.reversed-
routes?readonlyreadonly (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.-LayoutResult.routes
xreadonlyFloat64ArrayNode centers, one per node. Always finite.-LayoutResult.x
yreadonlyFloat64Array--LayoutResult.y
zreadonlyFloat64ArrayOnly from a 3D layout.LayoutResult.z-

Released under the MIT License.