documentationfor yFiles for HTML 3.0.0.2

Usages of ISubtreePlacer

Properties

childSubtreePlacerin AssistantSubtreePlacerGets or sets the ISubtreePlacer instance that places the non-assistant children.
primaryPlacerin SingleSplitSubtreePlacerGets the ISubtreePlacer instance that will arrange the primary subtree.
secondaryPlacerin SingleSplitSubtreePlacerGets the ISubtreePlacer instance that will arrange the secondary subtree.
defaultSubtreePlacerin TreeLayoutGets or sets the default ISubtreePlacer instance that arranges all subtrees of local roots that do not have an individual subtree placer assigned.
subtreePlacersin TreeLayoutDataGets or sets the mapping from nodes to their ISubtreePlacer.

Fields

SUBTREE_PLACER_DATA_KEYin TreeLayoutA data key for specifying a child subtree placer for each node.

Method Return Values

getSubtreePlacer (LayoutNode)in TreeLayoutReturns the ISubtreePlacer instance that is used for the placement of the local root node and the SubtreeShapes.

Implementing Types

BusSubtreePlacerThe BusSubtreePlacer creates a bus to which all child nodes and the local root node are connected.
CompactSubtreePlacerThe CompactSubtreePlacer produces a compact placement of the children.
IFromSketchSubtreePlacerA IFromSketchSubtreePlacer arranges the subtrees while taking the initial locations of the nodes into account.
MultiSplitSubtreePlacerThis ISubtreePlacer splits the children of a local root into clusters based on port groups defined on the edges to the children - the placement of the cluster content and the placement of clusters themselves is delegated to other ISubtreePlacers.
SingleSplitSubtreePlacerSingleSplitSubtreePlacer delegates the arrangement of the children to two different ISubtreePlacers.