seedPositions
seedPositions(
graph,width,height):void
Defined in: network/force.ts:137
Seed node positions deterministically as a phyllotaxis (“sunflower”) disc centred on the viewport — a good, reproducible starting distribution for ForceLayout when a graph arrives without coordinates (no two nodes coincident, no RNG).
Parameters
Section titled “Parameters”number
height
Section titled “height”number
Returns
Section titled “Returns”void