Skip to content

Take the ImGui suite at 3.25.0 - #31

Merged
matt-edmondson merged 1 commit into
mainfrom
claude/imgui-suite-3.25.0
Sep 8, 2026
Merged

Take the ImGui suite at 3.25.0#31
matt-edmondson merged 1 commit into
mainfrom
claude/imgui-suite-3.25.0

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Why

3.25.0 untangles the links in the node editor (ktsu-dev/ImGuiApp#366).

Two links arriving at one node from two different bodies cross whenever the bodies sit in the opposite vertical order to the pins they arrive at — the upper body's link has to dive under the lower body's to reach the lower pin. In this editor's own Counter document, assign and return both feed function Add and were doing exactly that.

Nothing in the layout could see it. Every force acts on one link or one pair of bodies at a time, and each of those two links is individually short, level and well spaced — they were only wrong about each other. Measured upstream, sibling twist accounted for 5.76 of 5.79 crossings between links sharing a node, and those outnumbered crossings between unrelated links nearly three to one.

Measured over 150 random starting arrangements of a graph the size of the Counter document:

measure before after
crossings, links sharing a node 5.79 4.65
crossings, links sharing nothing 2.09 1.04
links drawn over an unrelated body 3.19 3.03
mean angle off horizontal 27.7° 24.8°
worst body overlap 0 0

Total crossings fall 28%. The one cost is hidden link length, 228 → 241px: the same number of links are hidden, slightly more of each.

Getting there needed the overlap pass to give the untwist room. Separating a pair along the very axis it is trying to move on holds it exactly one clearance apart on the wrong side of itself, so each untangle now gets the axis it travels on and is separated on the other — a reorder along X is pushed apart on Y, a swap along Y is pushed apart on X. A settled graph is still left with no overlaps at all.

What changed

Directory.Packages.props only — the six packages published from the ImGuiApp repo, 3.24.0 to 3.25.0:

ktsu.ImGui.App, ktsu.ImGui.App.Testing, ktsu.ImGui.SyntaxHighlighting, ktsu.ImGui.Widgets, ktsu.ImGui.NodeEditor, ktsu.ForceDirectedLayout.

Verification

  • Confirmed v3.25.0's tag contains the ktsu-dev/ImGuiApp#366 merge commit (563693f).
  • Waited for all six packages to publish 3.25.0 before building — ktsu.ImGui.App lagged the other five by several minutes, which is the exact shape of the NU1102 that bit an earlier bump — and cleared the NuGet HTTP cache first.
  • dotnet build -c Release clean, Coder.Test 329/329 against 3.25.0.

Not verified visually: this environment is headless. The upstream change alters where nodes settle rather than how fast, so it should be visible as fewer links crossing near the function Add and function Next nodes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01D2KNUKr1xJPTEdDmeF2tQN


Generated by Claude Code

3.25.0 untangles the links in the node editor (ktsu-dev/ImGuiApp#366).

Two links arriving at one node from two different bodies cross whenever
the bodies sit in the opposite vertical order to the pins they arrive at.
In this editor's own Counter document, `assign` and `return` both feed
`function Add` and were doing exactly that. Nothing in the layout could
see it: every force acts on one link or one pair of bodies at a time, and
each of those two links is individually short, level and well spaced.

Measured upstream over 150 random starting arrangements of a graph the
size of the Counter document:

| measure                              | before | after |
|--------------------------------------|--------|-------|
| crossings, links sharing a node      |   5.79 |  4.65 |
| crossings, links sharing nothing     |   2.09 |  1.04 |
| links drawn over an unrelated body   |   3.19 |  3.03 |
| mean angle off horizontal            |  27.7d | 24.8d |
| worst body overlap                   |      0 |     0 |

Total crossings fall 28%. The one cost is hidden link length, 228 to 241
pixels: the same number of links are hidden, slightly more of each.

Directory.Packages.props only - the six packages published from the
ImGuiApp repo, 3.24.0 to 3.25.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D2KNUKr1xJPTEdDmeF2tQN
@matt-edmondson
matt-edmondson merged commit 5969e13 into main Sep 8, 2026
9 checks passed
@matt-edmondson
matt-edmondson deleted the claude/imgui-suite-3.25.0 branch September 8, 2026 13:01
@sonarqubecloud

sonarqubecloud Bot commented Sep 8, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants