Skip to content

SeedOptions

Defined in: network/force.ts:481

Options for seedPositions.

optional force?: Partial<ForceParams>

Defined in: network/force.ts:488

Size the disc to this force model’s equilibrium (merged over DEFAULT_FORCE): radius √(repulsion·N/centering), the scale ForceLayout converges to, so a layout started from the seed neither explodes nor collapses. Still centred on the viewport. A model without an equilibrium scale (no repulsion or no centering) falls back to the viewport disc.