Skip to content

StateNetworkGraph

Defined in: network/state-graph.ts:58

A state network plus its engine-derived physical network and the maps between the two levels.

physical: NetworkGraph

Defined in: network/state-graph.ts:66

Derived physical-level graph: nodes = distinct physical ids; edges = state edges aggregated across physical boundaries (directed, flow-summed). Intra-physical state edges collapse (they are not physical links). physical.flow is the per-physical sum of state flow (or null if none supplied).


physicalCount: number

Defined in: network/state-graph.ts:71


physicalToState: PhysicalToState

Defined in: network/state-graph.ts:70

physical node id → its state node ids (CSR).


state: NetworkGraph

Defined in: network/state-graph.ts:60

State-level graph: nodes = state nodes, edges = state edges. A full NetworkGraph.


stateToPhysical: Uint32Array

Defined in: network/state-graph.ts:68

state node id → physical node id (dense), length state.nodeCount.