PieWedgeOptions
Defined in: network/pie.ts:22
Properties
Section titled “Properties”
optionalby?:"count"|"flow"
Defined in: network/pie.ts:33
Wedge sizing: "flow" sums each state node’s flow (needs graph.state.flow), "count" counts
them. Default "flow" when the state graph carries flow, else "count".
color?
Section titled “color?”
optionalcolor?:ModuleColorOptions
Defined in: network/pie.ts:35
HCL colour scheme for the default per-module colours (matches moduleColors’ top-level split).
level?
Section titled “level?”
optionallevel?:number
Defined in: network/pie.ts:28
Group state nodes by their module at this 1-based path depth. Default 1 (top-level module):
the natural grain for “which communities does this physical node span”. A node whose path is
shorter than level is grouped by its enclosing module.
moduleColor?
Section titled “moduleColor?”
optionalmoduleColor?: (moduleKey) =>string
Defined in: network/pie.ts:37
Override the per-module wedge colour by module key (the ":"-joined path prefix).
Parameters
Section titled “Parameters”moduleKey
Section titled “moduleKey”string
Returns
Section titled “Returns”string