v0.2.1 — Overflow-graph tagger wiring
Highlights
This release wires the recommender's pre-computed
constrained-path / red-loop / overloads lists into the new
`OverflowGraph` taggers introduced in `ExpertOp4Grid v0.3.2`.
The serialised overflow graph now carries explicit boolean flags
that drive the upstream alphaDeesp interactive viewer's
semantic layer toggles (Hubs, Red-loop paths, Constrained
path, Overloads, Low margin lines), replacing the previous
colour / shape heuristics.
- Tagger wiring in `graph_analysis/visualization.py` —
`make_overflow_graph_visualization` gains five optional
parameters and calls `tag_constrained_path`,
`tag_red_loops`, and `highlight_significant_line_loading` on
the `OverflowGraph` before serialisation. - List computation in `main.py` — the constrained-path
lines / nodes, red-loop lines / nodes, and overload list are
computed right after the distribution-graph pass and forwarded
to all three call sites of
`make_overflow_graph_visualization`. is_overload ⊂ is_monitoredsemantics — every overloaded
contingency line is also flagged as a low-margin / monitored
line; the inverse is not true.
What's Changed
PR #88 — Wire overflow-graph taggers into the visualization pipeline
- `graph_analysis/visualization.py`: optional
`lines_constrained_path` / `nodes_constrained_path` /
`red_loop_lines` / `red_loop_nodes` / `lines_overloaded`
parameters; calls into the new `OverflowGraph` taggers. - `main.py`: list computation + forwarding to the three call
sites.
Companion releases
- `ExpertOp4Grid v0.3.2`
— semantic source-of-truth tagging on `OverflowGraph` plus
grouped layer toggles, membership-based dim model, and
endpoint-node inclusion in the interactive HTML viewer. - The Co-Study4Grid overflow-analysis tab embeds the resulting
interactive HTML viewer with an action-pin overlay synchronised
with the Action Overview NAD.
Compatibility
Backwards compatible. All five new parameters default to `None`
— existing callers see no behaviour change. The taggers are
no-ops on missing lists. Requires `ExpertOp4Grid >= 0.3.2` to
surface the flags in the interactive HTML viewer; older versions
still serialise the same numerical / colour content unchanged.
🤖 Generated with Claude Code