Skip to main content

Home > @jsplumbtoolkit/layout-hierarchical > HierarchicalLayoutParameters > spacing

HierarchicalLayoutParameters.spacing property

Optional, defaults to "auto". Valid values are: "auto" (Spacing.auto) Spaces each node and its parent according to the size of the biggest node in the given node's level. "compress" (Spacing.compress) Uses a regular spacing between each node and its parent

Signature:

spacing?: HierarchicalLayoutSpacing;