documentationfor yFiles for HTML 2.6

Usages of SubtreeShape

Method Return Values

placeSubtreeOfNode (YNode, ParentConnectorDirection)in AspectRatioNodePlacerArranges the SubtreeShapes of children of the local root node in rows or columns that fit the specified aspect ratio.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in AssistantNodePlacerDelegates the arrangement of SubtreeShapes to an instance of LeftRightNodePlacer.
placeSubtreeOfNode (YNode, ParentConnectorDirection)in CompactNodePlacer
placeSubtreeOfNode (YNode, ParentConnectorDirection)in DefaultNodePlacerArranges the root node and its children.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in DelegatingNodePlacerPlaces the SubtreeShapes of the child nodes using the two delegate node placers retrieved with primaryPlacer and secondaryPlacer.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in DendrogramNodePlacerArranges the SubtreeShapes of the local root and its children as a dendrogram.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in GroupedNodePlacerPlaces the groups of SubtreeShapes according to their group IDs.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in ITreeLayoutNodePlacerArranges the SubtreeShapes of the local root and its children and routes the edges that connect them.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in LeafNodePlacerCreates a SubtreeShape for the local root node (a leaf node in this case) and adds target points to the incoming edge.
getNodeShape (YNode)in NodePlacerBaseReturns the SubtreeShape for the given node.
getSubtreeShape (YNode)in NodePlacerBaseReturns the SubtreeShape for the subtree rooted at the given node.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in NodePlacerBaseInitializes the local data structures and then delegates the work to the abstract variant of this method (placeSubtreeOfNode)
placeSubtreeOfNode (YNode, ParentConnectorDirection)in NodePlacerBaseArranges the local root relative to the SubtreeShape of its children.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in RotatableNodePlacerBaseInitializes the local data structures and then delegates the work to the abstract variant of this method (placeSubtreeOfNode).
createCopy (RotatableNodePlacerMatrix)in SubtreeShapeCreates a clone of this SubtreeShape instance, modifying it using the provided modification matrix.
createNodeShape (YNode)in TreeLayoutCreates a SubtreeShape for the given node that consists only of the bounds of this particular node.
getSubtreeShape (YNode)in TreeLayoutProvides access to the SubtreeShape for the given node.
layoutRoot (YNode)in TreeLayoutCalculates the layout for the given root node and its subtrees.

Method Parameters

calculateParentConnector (LayoutGraph, YNode, INodeLayout, SubtreeShape, Edge, IEdgeLayout, number)in DefaultNodePlacerCalculates the bends for the connector to the parent node.
calculateSlopedSourceEdgeLayout (INodeLayout, SubtreeShape, Edge, number, number)in DefaultNodePlacerCalculates the routing of the source side of the edge to the given child node.
calculateSourceEdgeLayout (INodeLayout, SubtreeShape, Edge)in DefaultNodePlacerCalculates the routing of the source side of the edge to the given child node.
calculateTargetEdgeLayout (INodeLayout, SubtreeShape, Edge)in DefaultNodePlacerCalculates the routing of the target side of the edge to the given child node.
assignValuesTo (SubtreeShape, RotatableNodePlacerMatrix)in SubtreeShapeCopies the state of this SubtreeShape instance to the given shape applying a modification matrix.
mergeWith (SubtreeShape)in SubtreeShapeMerges the given SubtreeShape instance with this SubtreeShape instance.