Applies a tree layout to the diagram (obsolete).
VB6 Copy Code |
---|
Public Sub TreeLayout( _ |
C++ Copy Code |
---|
public: |
A member of the ETreeLayoutType enumeration specifying how items are aligned.
A member of the ETreeLayoutDirection enumeration specifying the direction in which items are laid-out.
A member of the ETreeLayoutArrows enumeration specifying the style of arrows to use.
This method arranges in hierarchical manner a tree-like structure of nodes. You can call it on whole trees or sub-trees by specifying the object from which to start as first argument of the method. If you pass null (Nothing in Visual Basic) as first argument, and all diagram objects are in a single tree, the control will automatically find the root and start from it. The second argument specifies if items are arranged spreading away from a central axis, or if one of the sides of the tree is kept aligned to the axis. The tld argument specifies in which direction the tree 'grows'. arrowsStyle defines how connections between node will look after the rearrangement. The minX parameters define the minimal space to be left between adjacent items on a single level, and between adjacent levels.
Note |
---|
If you call this method to arrange an arbitrary graph of objects, some of the links in the graph will be ignored; only links that participate in single-directional hierarchical relationships are considered in the layout process. |