Skip to content

StateNetworkGraph

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

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

physical: NetworkGraph

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

Derived physical-level graph: nodes = distinct physical ids; edges = state edges aggregated per physical pair (directed, flow-summed). State edges inside one physical node sum into that node’s self-link (#535), drawn as a loop in the physical view. physical.flow is the per-physical sum of state flow (or null if none supplied).


physicalCount: number

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


physicalToState: PhysicalToState

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

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


state: NetworkGraph

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

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


stateToPhysical: Uint32Array

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

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