TreeVertex$Typings extension

on

Properties

alignment EnumValue

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets how this parent node should be aligned relative to its children.
getter/setter pair
angle num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the absolute angle at which this subtree should grow from this vertex.
getter/setter pair
breadthLimit num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets how broad a node and its descendants should be.
getter/setter pair
childPortSpot Spot

Available on TreeVertex, provided by the TreeVertex$Typings extension

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>

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the logical children for this node.
getter/setter pair
childrenCount num

Available on TreeVertex, provided by the TreeVertex$Typings extension

This read-only property returns the number of immediate children this node has.
getter/setter pair
commentMargin num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the space to leave between the node and the comments.
getter/setter pair
comments Array<Node>

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets an array of Nodes that will be positioned near this node.
getter/setter pair
commentSpacing num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the space to leave between consecutive comments.
getter/setter pair
compaction EnumValue

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets how the children of this node should be packed together.
getter/setter pair
comparer num Function(TreeVertex, TreeVertex)

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets how the children should be sorted.
getter/setter pair
descendantCount num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the number of descendants this node has.
getter/setter pair
initialized bool

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets whether this node has been initialized as part of TreeLayout#doLayout when building the tree structures.
getter/setter pair
layerSpacing num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the distance between this node and its children.
getter/setter pair
layerSpacingParentOverlap num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the fraction of this node's depth that may overlap with the children's layer.
getter/setter pair
level num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the number of single-parent ancestors this node has.
getter/setter pair
maxChildrenCount num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the maximum number of children of any descendant of this node.
getter/setter pair
maxGenerationCount num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the maximum depth of the subtrees below this node.
getter/setter pair
nodeIndent num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the distance the first child should be indented.
getter/setter pair
nodeIndentPastParent num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets whether the first child should be indented past the parent node's breadth.
getter/setter pair
nodeSpacing num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the distance between child nodes.
getter/setter pair
parent TreeVertex

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the logical parent for this node.
getter/setter pair
portSpot Spot

Available on TreeVertex, provided by the TreeVertex$Typings extension

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

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the position of this node relative to its parent node.
getter/setter pair
rowIndent num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the distance the first child of each row should be indented.
getter/setter pair
rowSpacing num

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the distance between rows within one layer, all sharing the same parent.
getter/setter pair
setsChildPortSpot bool

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets whether the TreeLayout should set the ToSpot for each child node port.
getter/setter pair
setsPortSpot bool

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets whether the TreeLayout should set the FromSpot for this parent node port.
getter/setter pair
sorting EnumValue

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets whether and in what order the children should be sorted.
getter/setter pair
subtreeOffset Point

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the offset of this parent node relative to its whole subtree.
getter/setter pair
subtreeSize Size

Available on TreeVertex, provided by the TreeVertex$Typings extension

Gets or sets the size of the subtree (including all descendants) parented by this node.
getter/setter pair

Methods

copyInheritedPropertiesFrom(TreeVertex copy) → void

Available on TreeVertex, provided by the TreeVertex$Typings extension

Copy inherited properties from another TreeVertex to this one. @expose @param {TreeVertex} copy