ModuleNode
Defined in: network/modules.ts:29
A graph node’s placement in the provided module tree — the Infomap JSON node shape. Extra fields
(flow, name, modules, …) are accepted and ignored here; flow feeds flow-border rendering in
N6b.
Properties
Section titled “Properties”id:
number
Defined in: network/modules.ts:31
Dense node index, aligned with the graph built by buildGraph (its leaf id in the LOD tree).
path:
ArrayLike<number>
Defined in: network/modules.ts:36
Infomap module path: the 1-based child-index chain from the root to this node (e.g. [2, 1, 3] =
top module 2 → sub-module 1 → the node ranked 3). The enclosing module is path.slice(0, -1).