Child nodes. If this is a leaf, then this list is empty.
Data associated with this node.
Number of parents before hitting the root Node. If this is the root, then this is 0.
Maximum number of children before hitting a leaf Node. If this is a leaf, then this is 0.
Returns true if this node has no children.
true
Layout value. Null when initially created, but can be changed by using a tree-map or similar.
The parent node, if any.
Returns ancestor nodes, starting with this and then following the Node.parent chain.
this
Returns a breadth-first traversal of nodes, removing those with null data, and pairing the data to the layout.
Returns descendant nodes, starting with this and then following the Node.children chain in a breadth-first traversal.
Returns descendant nodes, starting with the Node.children chain in a depth-first traversal, and ending with this.
Returns descendant nodes, starting with this and then following the Node.children chain in a depth-first traversal.