Polish responsive graph viewport - #237
Merged
Merged
Conversation
ktjn
marked this pull request as ready for review
July 27, 2026 13:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Dense Entity and Projection graphs were initially fitted too far out, making labels difficult to read. The default controls and MiniMap also occupied too much of the graph canvas, while the 1920px workbench cap left substantial space unused on large displays.
Impact
Graphs now open at a readable scale and remain pannable when all content cannot fit. Domain and Lineage still center when they fit, dense modes open on a coherent subtree, controls remain compact and unobtrusive, and the playground expands across larger screens.
Validation
npm test— 370 passednpm run checknpm run buildnpx playwright test --project=chromium— 40 passeduv run ruff format .uv run ruff check .uv run pytest --tb=short— 1531 passed, 15 skippedDocumentation review
Doc/spec review passed all four phases: structural validation, reciprocal-link consistency, behavioral coverage, and quality gates.