Skip to content

pivotick v3.0.0


pivotick / TreeSpacing

Interface: TreeSpacing ​

Defined in: Simulation.ts:110

The tree-spacing multipliers surfaced by the Physics flyout — the one thing left to turn once the physics knobs grey out under a tree / egoTree layout.

Multipliers rather than pixel gaps because a tree is laid out to fit the canvas: "half again as far apart as the fitted layout" survives a resize; a pixel gap does not.

Properties ​

levelSpacing ​

levelSpacing: number

Defined in: Simulation.ts:112

Distance between levels — rings, in radial mode.


siblingSpacing ​

siblingSpacing: number

Defined in: Simulation.ts:114

Distance between nodes within a level. Ignored in radial mode, where a level always spans the full circle.