M2 of #397. Depends on M1. Colour-by modes: drift, cost, headroom, with a legend, and the scope panel carrying totals per box and per estate.
What
Today the graph colours by drift. This adds two more colour-by modes fed by M1's behaviour block, cost and headroom, each with its own legend. The scope panel, which the choudoufu demo already uses to list each move with a live-mv line and a link to the morph, gains a totals row per box and per estate for whichever mode is active.
Do
A mode switch on the graph view, three states, one legend per state. The scope panel sums the active mode's figure per box and per estate from the same behaviour block M1 added. A node with no behaviour block draws in a neutral colour, the same "did not look" neutral the drift overlay already uses, never a zero that could be misread as free or empty.
Proof
The three modes shown on the choudoufu demo (example-choudoufu-estate/, booted the way scripts/choudoufu-up.sh boots it), with screenshots in the pull request. A test asserting a node with no behaviour block draws neutral rather than at the zero end of the scale.
Refs #397.
M2 of #397. Depends on M1. Colour-by modes: drift, cost, headroom, with a legend, and the scope panel carrying totals per box and per estate.
What
Today the graph colours by drift. This adds two more colour-by modes fed by M1's behaviour block, cost and headroom, each with its own legend. The scope panel, which the choudoufu demo already uses to list each move with a
live-mvline and a link to the morph, gains a totals row per box and per estate for whichever mode is active.Do
A mode switch on the graph view, three states, one legend per state. The scope panel sums the active mode's figure per box and per estate from the same behaviour block M1 added. A node with no behaviour block draws in a neutral colour, the same "did not look" neutral the drift overlay already uses, never a zero that could be misread as free or empty.
Proof
The three modes shown on the choudoufu demo (
example-choudoufu-estate/, booted the wayscripts/choudoufu-up.shboots it), with screenshots in the pull request. A test asserting a node with no behaviour block draws neutral rather than at the zero end of the scale.Refs #397.