Skip to content

PieWedgeOptions

Defined in: network/pie.ts:22

optional by?: "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".


optional color?: ModuleColorOptions

Defined in: network/pie.ts:35

HCL colour scheme for the default per-module colours (matches moduleColors’ top-level split).


optional level?: 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.


optional moduleColor?: (moduleKey) => string

Defined in: network/pie.ts:37

Override the per-module wedge colour by module key (the ":"-joined path prefix).

string

string