JavaScript/jQuery Diagram - nodes.autoLayout
The layout property is in effect when a diagram is bound to a data source using the nodes property.
See Also
type
Type:
Accepted Values: 'auto' | 'off' | 'tree' | 'layered'
auto. The equivalent of the off value when both shape coordinates (leftExpr and topExpr) are specified; otherwise, the auto value is equivalent to layered.
off. The auto-layout is not applied.
tree. This algorithm is used to draw hierarchical diagrams. It arranges shapes in a tree structure and aligns them evenly based on their hierarchical level.
layered (Sugiyama-style). This algorithm is used to draw layered graphs. It minimizes the number of connector crossings and spreads shapes evenly.
NOTE
When the type property is set to layered or tree, predefined shape coordinates (leftExpr and topExpr) and edge points (pointsExpr) are ignored.
Feedback