Skip to content

Hierarchy

Defined in: network/coarsen.ts:45

A coarsening hierarchy: progressively smaller graphs plus the maps that connect them.

levels: CoarseLevel[]

Defined in: network/coarsen.ts:47

levels[0] is the finest (original) graph; each subsequent level is strictly coarser.


projections: Uint32Array<ArrayBufferLike>[]

Defined in: network/coarsen.ts:49

projections[k] maps a level-k node id to its level-k+1 node id; length levels.length - 1.