Hierarchy Root Algorithm
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
The hierarchy root (hierRoot) algorithm works with the hierarchy child (hierChild) algorithm to create hierarchical tree layouts. The hierRoot algorithm aligns and positions the hierRoot layout node in relation to the hierChild layout nodes.
Parameters
Parameter |
Values |
Description |
---|---|---|
hierAlign |
|
Specifies the layout of hierarchy root and child nodes. |
horzAlign |
|
Aligns all the child nodes in the space reserved for the parent node and adjusts child node positions along the x-axis. |
vertAlign |
|
Aligns all the child nodes in the space reserved for the parent node and adjusts child node positions along the y-axis. |
Constraints
Constraint |
Default value |
Description |
---|---|---|
w |
100 |
Specifies the width of the bounding box for a node. |
h |
100 |
Specifies the height of the bounding box for a node. |
alignOff |
0 |
Specifies the amount to offset the alignment of a node. |
sp |
0 |
Specifies the distance between child nodes, which is typically between the text node and the hierChild nodes. |