Home > @jsplumbtoolkit/layout-hierarchy > HierarchyLayoutParameters > gatherUnattachedRoots
HierarchyLayoutParameters.gatherUnattachedRoots property
If true root nodes that do not have children will be positioned adjacent to the last root node that does have children. When false (which is the default), unattached roots are spaced apart so that they do not overlap any child trees.
Signature:
gatherUnattachedRoots?: boolean;