One node of a hierarchy series' tree.
Measured: getValue() answers the rolled-up sum for an interior node, so a declared value and a derived one are indistinguishable from the value alone -- see hierarchy.ts for what is done about that.
getValue()
hierarchy.ts
The node's name. The synthetic root's is the empty string.
Optional
Its children, absent on a leaf.
Its magnitude, rolled up from the children where it has them.
One node of a hierarchy series' tree.
Measured:
getValue()answers the rolled-up sum for an interior node, so a declared value and a derived one are indistinguishable from the value alone -- seehierarchy.tsfor what is done about that.