buildStateGraph
buildStateGraph(
input):StateNetworkGraph
Defined in: network/state-graph.ts:79
Assemble a StateNetworkGraph from a state-level edge list + a per-state-node physical id. The physical network is derived once (its links are the directed, flow-summed aggregation of state edges that cross a physical boundary). Positions in both graphs are left zeroed for layout to fill.