Skip to content

MultilevelLayoutOptions

Defined in: network/coarsen.ts:53

optional coarsen?: CoarsenOptions

Defined in: network/coarsen.ts:73


optional coarsenIterations?: 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.


optional force?: Partial<ForceParams>

Defined in: network/coarsen.ts:57

Force parameters passed to every level’s ForceLayout.


height: number

Defined in: network/coarsen.ts:55


optional iterations?: number

Defined in: network/coarsen.ts:59

Refinement iterations run at the finest level. Default 100.


optional maxSeedNodes?: 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