Creates a new, orphaned Siblings object for this node with a horizontal preferred axis.
the owning node
Private
_layoutPrivate
_nextPrivate
_nodePrivate
_prevPrivate
connectIterates over every node in this node's paint group, beginning with this node and continuing until all nodes are iterated.
the iterator that will be called for each node in this node's paint group.
The iterator's signature is (node: DirectionNode) => void
Returns the first and last child node for each direction.
[firstVert, lastVert, firstHorz, lastHorz]
Optional
excludeThisNode: DirectionNode<any>Protected
sanitizeChanges the layout order of this node's children.
The node is invalidated if the preferred axis is actually changed.
if root is given and PreferredAxis is not VERTICAL
or HORIZONTAL
the new PreferredAxis to use
Generated using TypeDoc
Represents a DirectionNode's entry within its paint group.
Every DirectionNode has its own Siblings instance.
Siblings are often used to iterate all nodes in the graph, using forEach. Siblings are also used to store the preferred axis of a node, as this affects the layout and iteration order of the node's children.
See
PreferredAxis