StateNetworkOptions
Defined in: network/network.ts:318
Options for Network.stateNetwork (#171). The engine ingests a state network + a per-state-node module assignment, derives the physical network’s overlapping-module pie wedges + module colours, and lets you toggle the state ↔ physical view with Network.view.
Properties
Section titled “Properties”color?
Section titled “color?”
optionalcolor?:ModuleColorOptions
Defined in: network/network.ts:325
Module colour scheme (shared by node colours and pie wedges).
modules
Section titled “modules”modules:
ArrayLike<ModulePathNode>
Defined in: network/network.ts:321
Per-state-node module records (Infomap’s nodes shape; id = state-node index). Drives module
colours (both views) and the physical view’s overlapping-module pie wedges.
optionalpie?:PieWedgeOptions
Defined in: network/network.ts:323
Pie-wedge derivation options (grouping level, flow vs count sizing).
rosetteRadius?
Section titled “rosetteRadius?”
optionalrosetteRadius?:number
Defined in: network/network.ts:331
State-view rosette radius (world units). Default: auto — bounded by the physical layout spacing.
(The "both" view ignores this; its rosette is confined to the physical container radius.)
optionalview?:"state"|"physical"|"both"
Defined in: network/network.ts:327
Which view to show first. Default "physical" (so the overlapping-module pie glyphs are visible).