The Hierarchical Tree Layout organizes any tree structure into a Flow Diagram that reveals the tree hierarchy. This layout doesn't support general graphs, only Tree graphs are supported. This layout takes as input a Tree Graph to compute on internal structure. By Combining this internal structure to a Walker algorithm, the algorithm places the graph nodes in hierarchically arranged layers where each parent node is centered on its sub-tree according to the hierarchical flow direction (if the flow is vertical, centering will be horizontal and vice-versa).In this Layout, some features can be used to perform some advanced visualization requests:
layerDistance: controlling levels spacing for advanced compactness control;
defaultNodeDistance: controlling levels spacing for advanced compactness control;
orientation: controlling flow direction of the Hierarchical Tree Graph (Top to Bottom, Bottom to Top, Right to Left, Left to Right);
edgeDrawing: customizing edges rendering and shapes(straight, straight polyline, curved polyline, orthogonal polyline and curved polyline).
The Hierarchical layout can be used for all types of tree hierarchies (XML files, database structure, organization description...). It is also suited for representing UML inheritance.
This print screen shows an example the hierarchical tree layout representation: