MultilevelLayoutOptions
Defined in: network/coarsen.ts:59
Properties
Section titled “Properties”coarsen?
Section titled “coarsen?”
optionalcoarsen?:CoarsenOptions
Defined in: network/coarsen.ts:87
coarsenIterations?
Section titled “coarsenIterations?”
optionalcoarsenIterations?:number
Defined in: network/coarsen.ts:77
Iterations run at each coarser level while seeding, cooled over this budget. These start
near-relaxed after prolongation, so they need far fewer ticks than the finest level — keeping the
seed phase cheap (it runs before any progressive frame). A level can only stop early once it has
run MIN_SETTLE_TICKS (30) ticks, so at the default every solved level runs its full share.
Default 30.
force?
Section titled “force?”
optionalforce?:Partial<ForceParams>
Defined in: network/coarsen.ts:63
Force parameters passed to every level’s ForceLayout.
height
Section titled “height”height:
number
Defined in: network/coarsen.ts:61
iterations?
Section titled “iterations?”
optionaliterations?:number
Defined in: network/coarsen.ts:69
Refinement iterations at the finest level: the budget the refine cools over — so a larger budget anneals more slowly, not just with more headroom — and a maximum (it stops earlier once converged). Default 100.
maxSeedNodes?
Section titled “maxSeedNodes?”
optionalmaxSeedNodes?:number
Defined in: network/coarsen.ts:86
Largest level the seed solves with the full coarsenIterations. A larger level gets a
proportionally shorter solve — the same coarsenIterations · maxSeedNodes node-ticks, so a
level twice the size runs half the ticks — and one past coarsenIterations · maxSeedNodes nodes
is prolongated through unsolved. That bounds the seed at O(levels · maxSeedNodes ·
coarsenIterations) however large the graph (never a Barnes-Hut solve of a near-full level, #117),
while the meso-scale levels still get their arrangement solved rather than guessed. Default 16384.
width:
number
Defined in: network/coarsen.ts:60