Skip to content

Bump the ktsu ImGui suite to 3.32.0 - #42

Open
matt-edmondson wants to merge 1 commit into
mainfrom
claude/practical-franklin-lt5o3e
Open

Bump the ktsu ImGui suite to 3.32.0#42
matt-edmondson wants to merge 1 commit into
mainfrom
claude/practical-franklin-lt5o3e

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Picks up the recentring pass from ktsu-dev/ImGuiApp#383. All seven ktsu ImGui-suite pins go 3.31.0 → 3.32.0.

What changes for the editor

A settled document now sits centred on the world origin instead of somewhere off to one side of it.

Gravity could not do that job. It pulls every body the same amount whichever side of the target it sits, so summed over a graph it counts bodies rather than measuring them, and is exactly zero anywhere the counts balance — a dead band rather than an equilibrium. A twelve-node chain settled 79 units one side and stayed; shoved 600 the other way it came to rest 79 units to the other side. Placement is now a separate pass that slides the whole arrangement, which cannot change any distance between bodies and so leaves the layout itself untouched.

Measured in this repo's own editor, on the sample function after 300 frames:

3.31.0 3.32.0
graph centre (356.0, 287.4) (360.1, 300.2)
world origin (360, 300) (360, 300)
offset (−4.0, −12.6) (+0.1, +0.2)

The origin is graphSize * 0.5 where graphSize is the canvas less the 280px inspector column, so 360 horizontally and 300 vertically — the graph now lands on it to within a fifth of a unit on both axes.

Testing

dotnet restore, dotnet build -c Release (0 warnings, 0 errors), full suite 378/378.

Editor_KeepsTheLayoutInsideTheView and Editor_CentresTheDocumentOnTheFirstFrame both pass unchanged — no threshold needed adjusting this time, which is the outcome the centre assertion added in #40 was meant to produce.

One note for future bumps: ktsu.ImGui.Styler is a transitive dependency of the suite and propagates to NuGet on its own schedule, so a restore can fail with NU1102 for it after every pinned package is already live. Retrying the restore is the reliable check; enumerating pinned packages is not.

🤖 Generated with Claude Code

https://claude.ai/code/session_018b2bn5CKSzpjRV4nxv3c3y


Generated by Claude Code

Picks up the recentring pass, which is what a graph editor sees most
directly: a settled document now sits centred on the origin instead of
somewhere off to one side of it.

Gravity could not do that job. It pulls every body the same amount
whichever side of the target it sits, so summed over a graph it counts
bodies rather than measuring them and is exactly zero anywhere the counts
balance — a dead band rather than an equilibrium. Placement is now a
separate pass that slides the whole arrangement, which cannot change any
distance between bodies and so leaves the layout itself alone. Measured
over the corpus, mean offset from the origin fell from 62.7 units to 5.4.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018b2bn5CKSzpjRV4nxv3c3y
@sonarqubecloud

sonarqubecloud Bot commented Sep 9, 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