TreeLayout$Typings extension

on

Properties

alignment EnumValue

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the default alignment of parents relative to their children. Must be a static constant of TreeLayout whose name starts with "Alignment".
getter/setter pair
alternateAlignment EnumValue

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate alignment of parents relative to their children. Must be a static constant of TreeLayout whose name starts with "Alignment".
getter/setter pair
alternateAngle num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate direction for tree growth.
getter/setter pair
alternateBreadthLimit num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets an alternate limit on how broad a tree should be.
getter/setter pair
alternateChildPortSpot Spot

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate spot that children nodes' ports get as their ToSpot The default value is Spot.Default.
getter/setter pair
alternateCommentMargin num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate distance between a node and its comments.
getter/setter pair
alternateCommentSpacing num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate distance between comments.
getter/setter pair
alternateCompaction EnumValue

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets how closely to pack the child nodes of a subtree. Must be either TreeLayout.CompactionBlock or TreeLayout.CompactionNone.
getter/setter pair
alternateComparer num Function(TreeVertex, TreeVertex)

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate comparison function used for sorting the immediate children of a vertex.
getter/setter pair
alternateDefaults TreeVertex

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the object holding the default values for alternate layer TreeVertexes, used when the #treeStyle is TreeLayout.StyleAlternating|StyleAlternating or TreeLayout.StyleLastParents|StyleLastParents.
getter/setter pair
alternateLayerSpacing num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate distance between a parent node and its children.
getter/setter pair
alternateLayerSpacingParentOverlap num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate fraction of the node's depth for which the children's layer starts overlapped with the parent's layer.
getter/setter pair
alternateNodeIndent num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate indentation of the first child.
getter/setter pair
alternateNodeIndentPastParent num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the fraction of this node's breadth is added to #alternateNodeIndent to determine any spacing at the start of the children.
getter/setter pair
alternateNodeSpacing num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate distance between child nodes.
getter/setter pair
alternatePortSpot Spot

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate spot that this node's port gets as its FromSpot.
getter/setter pair
alternateRowIndent num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate indentation of the first child of each row, if the #alignment is not a "Center" alignment.
getter/setter pair
alternateRowSpacing num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate distance between rows of children.
getter/setter pair
alternateSetsChildPortSpot bool

Available on TreeLayout, provided by the TreeLayout$Typings extension

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

Available on TreeLayout, provided by the TreeLayout$Typings extension

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

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the alternate sorting policy for ordering the immediate children of a vertex. Must be TreeLayout.SortingForwards, TreeLayout.SortingReverse, TreeLayout.SortingAscending, or TreeLayout.SortingDescending.
getter/setter pair
angle num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the default direction for tree growth.
getter/setter pair
arrangement EnumValue

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets how #arrangeTrees should lay out the separate trees. Must be TreeLayout.ArrangementVertical, TreeLayout.ArrangementHorizontal, or TreeLayout.ArrangementFixedRoots.
getter/setter pair
arrangementSpacing Size

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the space between which #arrangeTrees will position the trees.
getter/setter pair
breadthLimit num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets a limit on how broad a tree should be.
getter/setter pair
childPortSpot Spot

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the spot that children nodes' ports get as their ToSpot.
getter/setter pair
commentMargin num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the distance between a node and its comments.
getter/setter pair
comments bool

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets whether this layout should find all Nodes whose category is "Comment" and whose anchors are nodes represented in the network, and increase the size of the corresponding TreeVertex to make room for the comment nodes. The default value is true.
getter/setter pair
commentSpacing num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the distance between comments.
getter/setter pair
compaction EnumValue

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets how closely to pack the child nodes of a subtree. Must be either TreeLayout.CompactionBlock or TreeLayout.CompactionNone.
getter/setter pair
comparer num Function(TreeVertex, TreeVertex)

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the default comparison function used for sorting the immediate children of a vertex.
getter/setter pair
layerSpacing num

Available on TreeLayout, provided by the TreeLayout$Typings extension

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

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the fraction of the node's depth for which the children's layer starts overlapped with the parent's layer.
getter/setter pair
layerStyle EnumValue

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the manner in which the nodes are aligned in layers. Must be TreeLayout.LayerIndividual, TreeLayout.LayerSiblings, or TreeLayout.LayerUniform.
getter/setter pair
nodeIndent num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the default indentation of the first child.
getter/setter pair
nodeIndentPastParent num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the fraction of this node's breadth is added to #nodeIndent to determine any spacing at the start of the children.
getter/setter pair
nodeSpacing num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the distance between child nodes.
getter/setter pair
path EnumValue

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets how the tree should be constructed from the TreeEdges connecting TreeVertexes. Must be TreeLayout.PathDestination or TreeLayout.PathSource or TreeLayout.PathDefault.
getter/setter pair
portSpot Spot

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the spot that this node's port gets as its FromSpot.
getter/setter pair
rootDefaults TreeVertex

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the object holding the default values for root TreeVertexes.
getter/setter pair
roots Set<Object>

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the collection of root vertexes.
getter/setter pair
rowIndent num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the default indentation of the first child of each row, if the #alignment is not a "Center" alignment.
getter/setter pair
rowSpacing num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the distance between rows or columns of a parent node's immediate children.
getter/setter pair
setsChildPortSpot bool

Available on TreeLayout, provided by the TreeLayout$Typings extension

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

Available on TreeLayout, provided by the TreeLayout$Typings extension

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

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the default sorting policy for ordering the immediate children of a vertex. Must be TreeLayout.SortingForwards, TreeLayout.SortingReverse, TreeLayout.SortingAscending, or TreeLayout.SortingDescending.
getter/setter pair
treeStyle EnumValue

Available on TreeLayout, provided by the TreeLayout$Typings extension

Gets or sets the Style for the resulting trees. Must be TreeLayout.StyleLayered, TreeLayout.StyleAlternating, TreeLayout.StyleLastParents, or TreeLayout.StyleRootOnly.
getter/setter pair

Methods

addComments(TreeVertex v) → void

Available on TreeLayout, provided by the TreeLayout$Typings extension

Find any associated objects to be positioned along with the LayoutVertex#node.
arrangeTrees() → void

Available on TreeLayout, provided by the TreeLayout$Typings extension

Position each separate tree.
assignTreeVertexValues(TreeVertex v) → void

Available on TreeLayout, provided by the TreeLayout$Typings extension

Assign final property values for a TreeVertex.
commitLayers(Array<Rect> layerRects, Point offset) → void

Available on TreeLayout, provided by the TreeLayout$Typings extension

This overridable method is called by #commitLayout if #layerStyle is LayerUniform to support custom arrangement of bands or labels across each layout layer. By default this method does nothing.
commitLayout() → void

Available on TreeLayout, provided by the TreeLayout$Typings extension

Set the fromSpot and toSpot on each Link, position each Node according to the vertex position, and then position/route the Links.

Available on TreeLayout, provided by the TreeLayout$Typings extension

Routes the links.
commitNodes() → void

Available on TreeLayout, provided by the TreeLayout$Typings extension

Commit the position of all nodes.
computeBusLastRowSpacing(TreeVertex lastchild, num dist) num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Get the amound of space to leave between the sibling child vertexes and this last odd vertex when the parent's TreeVertex#alignment is Bus or BusBranching.
computeBusNodeSpacing(TreeVertex child) num

Available on TreeLayout, provided by the TreeLayout$Typings extension

Get the amount of space to insert between a child vertex and its parent spine when the parent's TreeVertex#alignment is Bus or BusBranching.
computeLayerSpacing(TreeVertex v) num

Available on TreeLayout, provided by the TreeLayout$Typings extension

@expose @param {TreeVertex} v @return {number}
computeNodeIndent(TreeVertex v) num

Available on TreeLayout, provided by the TreeLayout$Typings extension

@expose @param {TreeVertex} v @return {number}
createNetwork() TreeNetwork

Available on TreeLayout, provided by the TreeLayout$Typings extension

Create a new LayoutNetwork of TreeVertexes and TreeEdges. @return {TreeNetwork} a new LayoutNetwork.
customAlignment(TreeVertex v, num offx, num offy, num subw, num subh) Array<num>

Available on TreeLayout, provided by the TreeLayout$Typings extension

(Undocumented) @expose @param v @param offx @param offy @param subw @param subh @returns
doLayout(Object coll) → void

Available on TreeLayout, provided by the TreeLayout$Typings extension

Perform the tree layout.
initializeTreeVertexValues(TreeVertex v) → void

Available on TreeLayout, provided by the TreeLayout$Typings extension

Assign initial property values for a TreeVertex.
layoutComments(TreeVertex v) → void

Available on TreeLayout, provided by the TreeLayout$Typings extension

Position and TreeVertex#comments around the vertex.
makeNetwork(Object coll) LayoutNetwork

Available on TreeLayout, provided by the TreeLayout$Typings extension

Create and initialize a LayoutNetwork with the given nodes and links.