You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
diagram: show feedback loops and their polarity in the editor #731
The diagram editor shows no feedback-loop information at all: no loop list, no R/B labels, no polarity.
The engine computes post-run loop polarity, including "mostly reinforcing" (Rux) and "mostly balancing" (Bux), plus a polarity confidence, and pysimlin and MCP report it.
This issue is the web-side feature: show loops and their polarity, with mixed-polarity loops visibly distinct from steady R/B.
Why it matters
Loop polarity is the most basic LTM result a modeler wants to see on the diagram.
Today it is only reachable from Python or an AI agent.
Decide where loops appear in the editor (a loop list, labels on the canvas, or both).
Render R, B, Rux, Bux, and unknown, with low-confidence loops in a muted or gray treatment.
The LTM reference describes Stella's convention: a polarity confidence of 0.99 or lower is drawn gray (section 13.7 and the Rux/Bux label table).
That rule is stated for links in a simplified CLD; applying it to loops is our choice.
Use the theme tokens in docs/dev/design.md rather than an ad-hoc color.
changed the title [-]diagram: render Rux/Bux loop polarity with confidence-gray treatment (deferred from #495)[/-][+]diagram: show feedback loops and their polarity in the editor[/+]on Oct 12, 2026
Activity
[-]diagram: render Rux/Bux loop polarity with confidence-gray treatment (deferred from #495)[/-][+]diagram: show feedback loops and their polarity in the editor[/+]