Skip to content

Function: tidyTreeLayout() ​

ts
function tidyTreeLayout(graph, options?): TreeLayoutResult;

Lays a tree or forest out as a tidy tree. Linear in nodes + links (sorting aside).

Parameters ​

ParameterType
graphLayoutGraph
optionsTidyTreeOptions

Returns ​

TreeLayoutResult

Released under the MIT License.