buildModuleLODTree
buildModuleLODTree(
nodeCount,records,edges?):LODTree
Defined in: network/modules.ts:56
Build a LODTree from a provided module hierarchy (the priority-chain entry that precedes structural coarsening). Geometry is left zeroed — fill it with computeLODGeometry once positions exist.
With edges (the graph’s directed edge list), also derive directed, flow-weighted super-edges
(#104 N6c) so a map’s inter-module links render as bent half-arrows; omit them (N6a) for a
node-only map. records must cover every node 0..nodeCount-1 exactly once.
Parameters
Section titled “Parameters”nodeCount
Section titled “nodeCount”number
records
Section titled “records”ArrayLike<ModuleNode>
edges?
Section titled “edges?”ModuleEdges