- Skip theme decoration (accent stripe + drawForeground/drawBackground)
when node.flags.collapsed. LiteGraph keeps node.size[1] at the expanded
height when collapsed and does NOT clip per-node draws, so the 4px
left-edge accent stripe was painting a vertical bar past the bottom of
the collapsed title pill.
- Rewrite wire render mode dropdown with explicit label->value pairs.
v0.3.0 used indexOf on a label-only array which mapped 1:1 to the
setting value, but LiteGraph's constants are 0-based and non-contiguous
(HIDDEN=-1, STRAIGHT=0, LINEAR=1, SPLINE=2). So picking "straight"
actually set LINEAR, picking "linear" set SPLINE, and the bezier/
manhattan options sent invalid 3/4 that LiteGraph fell back to default
for. v0.3.1 maps each label to the correct constant, drops the
fictional "manhattan (L-shape)" option, and adds "hidden".
All 33 JS tests still pass.