Interface: HiveLayoutResult
What hiveLayout returns: the positions and routes, and the axes it made.
Extends
Properties
| Property | Modifier | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|---|
axis | readonly | Int32Array | The axis of each node. | - | - |
axisAngle | readonly | Float64Array | The angle of each axis in degrees, counter-clockwise from the +x axis. | - | - |
clusters? | readonly | readonly LayoutCluster[] | - | - | LayoutResult.clusters |
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. | - | LayoutResult.hidden |
omitted | readonly | Uint8Array | 1 for each link that is not drawn: both ends on one axis (self-links too), or an end that is not a node (the contract rules those out). | - | - |
reversed? | readonly | Uint8Array<ArrayBufferLike> | Links the layout reversed to break cycles (layered): drawn in the back-edge style. | - | LayoutResult.reversed |
routes | readonly | readonly (LinkRoute | undefined)[] | One entry per link: a 'spline' route of 4 points, undefined where omitted is 1. | LayoutResult.routes | - |
x | readonly | Float64Array | Node centers, one per node. Always finite. | - | LayoutResult.x |
y | readonly | Float64Array | - | - | LayoutResult.y |
z? | readonly | Float64Array<ArrayBufferLike> | Only from a 3D layout. | - | LayoutResult.z |