Skip to main content

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

HierarchicalLayoutParameters.spacing property#

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

Signature:

spacing?: "compress" | "auto";