Skip to content

Interface: GraphTree ​

The tree a tree arrangement drew, for collapsing and expanding.

Properties ​

PropertyModifierTypeDescription
childrenreadonlyInt32ArrayHow many children each node has (whether they show or not).
collapsedreadonlyUint8Array1 where the node is collapsed: it has children and they are folded away.
parentreadonlyInt32ArrayEach node's parent in the tree, -1 for a root.
xreadonlyFloat64ArrayWhere the layout put every node, in linear coordinates, the hidden ones included: each sits on its nearest ancestor that shows, which is where it folds into and unfolds from.
yreadonlyFloat64Array-

Released under the MIT License.