MultilevelLayoutOptions
Defined in: network/coarsen.ts:53
Properties
Section titled “Properties”coarsen?
Section titled “coarsen?”
optionalcoarsen?:CoarsenOptions
Defined in: network/coarsen.ts:73
coarsenIterations?
Section titled “coarsenIterations?”
optionalcoarsenIterations?:number
Defined in: network/coarsen.ts:65
Iterations run at each coarser level while seeding. 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). Default 30.
force?
Section titled “force?”
optionalforce?:Partial<ForceParams>
Defined in: network/coarsen.ts:57
Force parameters passed to every level’s ForceLayout.
height
Section titled “height”height:
number
Defined in: network/coarsen.ts:55
iterations?
Section titled “iterations?”
optionaliterations?:number
Defined in: network/coarsen.ts:59
Refinement iterations run at the finest level. Default 100.
maxSeedNodes?
Section titled “maxSeedNodes?”
optionalmaxSeedNodes?:number
Defined in: network/coarsen.ts:72
Largest level the seed actually force-solves. Levels with more nodes are prolongated through without a solve — the seed captures the global/meso structure from the small coarse levels, and the finest refinement (streamed by the worker) does the rest. Bounds seed cost at O(maxSeedNodes) per level instead of running a Barnes-Hut solve on near-full coarse levels (#117). Default 4096.
width:
number
Defined in: network/coarsen.ts:54