TreeVertex$Typings extension
Properties
-
alignment
↔ EnumValue
-
Gets or sets how this parent node should be aligned relative to its children.
getter/setter pair
-
angle
↔ num
-
Gets or sets the absolute angle at which this subtree should grow from this vertex.
getter/setter pair
-
breadthLimit
↔ num
-
Gets or sets how broad a node and its descendants should be.
getter/setter pair
-
childPortSpot
↔ Spot
-
Gets or sets the spot that children nodes' ports get as their ToSpot,
if #setsChildPortSpot is true and the node has only a single port.
getter/setter pair
-
children
↔ Array<TreeVertex>
-
Gets or sets the logical children for this node.
getter/setter pair
-
childrenCount
↔ num
-
This read-only property returns the number of immediate children this node has.
getter/setter pair
-
Gets or sets the space to leave between the node and the comments.
getter/setter pair
-
Gets or sets an array of Nodes that will be positioned near this node.
getter/setter pair
-
Gets or sets the space to leave between consecutive comments.
getter/setter pair
-
compaction
↔ EnumValue
-
Gets or sets how the children of this node should be packed together.
getter/setter pair
-
comparer
↔ num Function(TreeVertex, TreeVertex)
-
Gets or sets how the children should be sorted.
getter/setter pair
-
descendantCount
↔ num
-
Gets or sets the number of descendants this node has.
getter/setter pair
-
initialized
↔ bool
-
Gets or sets whether this node has been initialized as part of TreeLayout#doLayout when building the tree structures.
getter/setter pair
-
layerSpacing
↔ num
-
Gets or sets the distance between this node and its children.
getter/setter pair
-
layerSpacingParentOverlap
↔ num
-
Gets or sets the fraction of this node's depth that may overlap with the children's layer.
getter/setter pair
-
level
↔ num
-
Gets or sets the number of single-parent ancestors this node has.
getter/setter pair
-
maxChildrenCount
↔ num
-
Gets or sets the maximum number of children of any descendant of this node.
getter/setter pair
-
maxGenerationCount
↔ num
-
Gets or sets the maximum depth of the subtrees below this node.
getter/setter pair
-
nodeIndent
↔ num
-
Gets or sets the distance the first child should be indented.
getter/setter pair
-
nodeIndentPastParent
↔ num
-
Gets or sets whether the first child should be indented past the parent node's breadth.
getter/setter pair
-
nodeSpacing
↔ num
-
Gets or sets the distance between child nodes.
getter/setter pair
-
parent
↔ TreeVertex
-
Gets or sets the logical parent for this node.
getter/setter pair
-
portSpot
↔ Spot
-
Gets or sets the spot that this node's port gets as its FromSpot,
if #setsPortSpot is true and the node has only a single port.
getter/setter pair
-
relativePosition
↔ Point
-
Gets or sets the position of this node relative to its parent node.
getter/setter pair
-
rowIndent
↔ num
-
Gets or sets the distance the first child of each row should be indented.
getter/setter pair
-
rowSpacing
↔ num
-
Gets or sets the distance between rows within one layer, all sharing the same parent.
getter/setter pair
-
setsChildPortSpot
↔ bool
-
Gets or sets whether the TreeLayout should set the ToSpot for each child node port.
getter/setter pair
-
setsPortSpot
↔ bool
-
Gets or sets whether the TreeLayout should set the FromSpot for this parent node port.
getter/setter pair
-
sorting
↔ EnumValue
-
Gets or sets whether and in what order the children should be sorted.
getter/setter pair
-
subtreeOffset
↔ Point
-
Gets or sets the offset of this parent node relative to its whole subtree.
getter/setter pair
-
subtreeSize
↔ Size
-
Gets or sets the size of the subtree (including all descendants) parented by this node.
getter/setter pair