PhysicalPieWedges
Defined in: network/pie.ts:47
Packed per-physical-node pie wedges. Physical p’s wedges are the slice
[offset[p], offset[p + 1]) of the parallel end / color / moduleKey arrays, ordered by module
(consistent across physical nodes). end is the cumulative fraction in [0, 1] (a wedge spans
[end[i-1] .. end[i]], the first from 0; the last is exactly 1). wedgeCount[p] ≤ 1 ⇒ a single
module ⇒ draw a solid disc, not a pie.
Properties
Section titled “Properties”color:
string[]
Defined in: network/pie.ts:53
Per-wedge fill colour (CSS string).
end:
Float32Array
Defined in: network/pie.ts:51
Cumulative end fraction in [0, 1] per wedge (monotonic within a physical node; last = 1).
moduleKey
Section titled “moduleKey”moduleKey:
string[]
Defined in: network/pie.ts:55
Per-wedge module key (the grouping-level path prefix), for legends / hit reporting.
offset
Section titled “offset”offset:
Uint32Array
Defined in: network/pie.ts:49
Per-physical start offset into the wedge arrays; length physicalCount + 1.
wedgeCount
Section titled “wedgeCount”wedgeCount:
Uint32Array
Defined in: network/pie.ts:57
Per-physical wedge count; ≤ 1 ⇒ solid disc (single module). Length physicalCount.