Interface: ArcLayoutResult
What arcLayout returns: the positions and routes, and the order it chose.
Extends
Properties
| Property | Modifier | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|---|
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 |
order | readonly | Int32Array | The node at each position along the line, first to last. | - | - |
rank | readonly | Int32Array | The position of each node along the line (the inverse of order). | - | - |
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 for every link between two nodes (7 points, or 4 for a self-link's loop), undefined for a self-link when loopSize is 0. | LayoutResult.routes | - |
span | readonly | number | Σ weight · | rank(source) − rank(target) | of the order: what 'barycenter' reduces. |
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 |