Interface: LayeredOptions
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
aspect? | readonly | number | Width over height the packing of disconnected parts aims for. Default 1.6. |
clusterLabelHeight? | readonly | number | Room for the title along the top of a cluster's frame, above the padding. Default 18. |
clusterPadding? | readonly | number | Space between a cluster's frame and its nodes. Default 12. |
clusters? | readonly | boolean | Keep the nodes of a group together and return a frame per group. Default false. |
componentsep? | readonly | number | Free space between two disconnected parts of the graph. Default 40. |
edgesep? | readonly | number | Free space between two long links that pass a rank side by side. Default 12. |
nodesep? | readonly | number | Free space between two nodes of a rank. Default 30. |
orderRounds? | readonly | number | Upper bound on the crossing reduction sweeps (it stops earlier when they stop helping). Default 24. |
rankdir? | readonly | LayeredRankdir | Direction the links point in. Default 'TB'. |
ranker? | readonly | LayeredRanker | 'network-simplex' (default) gives the shortest total link length, 'tight-tree' is its starting point (longest path, then every component pulled tight along a spanning tree) and 'longest-path' puts every node as early as its links allow. |
ranksep? | readonly | number | Free space between two ranks, measured between their tallest nodes. Default 50. |
routing? | readonly | LayeredRouting | 'spline' (default): smooth cubic Bézier chains; 'polyline': straight segments through the same points; 'orthogonal': axis-aligned segments with one bend between two ranks. |