Optional given: Value | DirectionNode<Value>Private _nodePrivate _nodesPrivate _savedAligns the current node in the given direction.
If only the alignment is given, the parent node is aligned in the current direction.
if the current node is root (alignment is done by the parent, not the child)
Optional inDirection: string | DirectionProtected doOptional given: ValueProtected doOptional given: Value | DirectionNode<Value>Move directly to the given node.
the node to move to.
Returns the caret's current node.
the current node
if the caret has no node.
Returns this caret's original root node.
this caret's original node.
Returns the current node's parent node.
the parent of the current node
Returns the current node's root node.
the caret's node root.
Optional newType: Value | DirectionNode<Value>Optional newAlignmentMode: string | AlignmentGenerated using TypeDoc
A builder of DirectionNode graphs.