Provides a hierarchical tree layout, oriented either horizontally or vertically.
Orientation of the layout. Valid values are
Array of padding values for x and y axes. Default is
Indicates how the nodes should be spaced in the orthogonal axis to the layout. Valid values are "auto" (the default), and "compress". Auto is the original spacing mechanism, in which all nodes in a certain level of the hierarchy are aligned. "compress" disregards the size of the other elements in each level and just spaces nodes according to the padding values.
If true, the layout will be inverted, ie. the root node will be at the bottom for horizontal layouts, and to the right for vertical layouts.
Valid values are "center", "start" and "end". This instructs the layout where to place child elements in relation to their parents. By default the layout centers child elements relative to their parents.
= false] DEPRECATED - use
spacing:"compress". If true, the layout will use a regular spacing between each node and its parent. Otherwise the layout pushes each node down by the maximum size of some element in that level of the hierarchy. For complex hierarchies in which any given node may have children, that is better. But for simple hierarchies, setting
compresscan give good results.