Symbolic child placement policy specifier.

Namespace: yWorks.yFiles.Layout.Tree
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public enum ChildPlacementPolicy
Visual Basic
Public Enumeration ChildPlacementPolicy

Members

Member nameValueDescription
LeavesStacked0 Symbolic child placement policy specifier. This setting configures the algorithm for a stacked style of leaf nodes. In this context, stacked means that leaf nodes that connect to the same root node are placed one upon the other. This results in horizontally compact layouts. Additionally, this policy tries to balance stack heights. I.e. for each subtree that consists of leaf nodes only, LeavesStackedRight or LeavesStackedLeftAndRight will be used depending on the number of leaves in the subtree.
LeavesStackedLeft1 Symbolic child placement policy specifier. This setting configures the algorithm for a stacked style of leaf nodes. In this context, stacked means that leaf nodes that connect to the same root node are placed one upon the other. This results in horizontally compact layouts. Moreover, the stack of leaf nodes is on the left.
LeavesStackedRight2 Symbolic child placement policy specifier. This setting configures the algorithm for a stacked style of leaf nodes. In this context, stacked means that leaf nodes that connect to the same root node are placed one upon the other. This results in horizontally compact layouts. Moreover, the stack of leaf nodes is on the right.
LeavesStackedLeftAndRight3 Symbolic child placement policy specifier. This setting configures the algorithm for a stacked style of leaf nodes. In this context, stacked means that leaf nodes that connect to the same root node are placed one upon the other. This results in horizontally compact layouts. Moreover, leaf nodes are distributed among two stacks, one on the left and one on the right.
AllLeavesOnSameLayer4 Symbolic child placement policy specifier. This results in a Dendrogram-style layout with all leaf nodes being placed in one layer (i.e. all leaves are being placed on one horizontal line in a top to bottom or bottom to top layout). A Dendrogram layout is often applied in computational biology in order to show clustering of genes.
SiblingsOnSameLayer5 Symbolic child placement policy specifier. This setting configures the algorithm to place siblings (leaf nodes with the same parent node) in the same layer (i.e. siblings are being placed on one horizontal line in a top to bottom or bottom to top layout).

See Also