The members of this enumeration specify the overall direction of the layouts produced by the com.mindfusion.diagramming.TreeLayout class. These constants can be used as parameters of the com.mindfusion.diagramming.TreeLayout.setDirection method.
Namespace: com.mindfusion.diagramming.jlayout
Package: com.mindfusion.diagramming.jlayout
Java
![]() |
---|
public enum TreeLayoutDirection |
Member name | Description | |
---|---|---|
![]() |
BottomToTop |
Child nodes are laid out above their parent node. |
![]() |
LeftToRight |
Child nodes are laid out to the right of their parent node. |
![]() |
RightToLeft |
Child nodes are laid out to the left of their parent node. |
![]() |
TopToBottom |
Child nodes are laid out below their parent node. |