Repository navigation
feat(graph): add tree layout and arrangement tools - #54
Merged
Merged
Conversation
Large models scattered related tables and offered no way to undo a move, move several tables at once, or hide a noisy hub. Hierarchical now lays out each colour group on its own, a Tree mode draws the model as an outline, and the top-row search bars clear the branding when narrow.
damusix
force-pushed
the
graph-tree-layout-and-header
branch
from
October 21, 2026 03:18
ee9cc3a to
070194d
Compare
A parent's lines share one trunk; lines into a wrapped column share one drop with labels on their runs; lines move or jog around boxes. A first visit opens the Graph in Tree; a browser with a saved arrangement and no stored mode keeps Organic. Runs fit the reverse predicate shown on hover, and a fit keeps tables out from under the header and footer.
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.
On large models, Hierarchical scattered a colour group's tables across the canvas, and there was no way to undo a move, move several tables, or hide a hub such as
users. Hierarchical now lays out each colour group on its own, arrangements survive model edits, and undo/redo, box select and hide/reveal cover the hand edits.Tree is a third layout and what a first visit opens in; a browser with a saved arrangement keeps Organic. Each parent's lines share one trunk, lines into a wrapped column share one drop with labels on their branches, and lines move or jog around boxes. Runs fit the reverse predicate a hover shows.
Also: in an export embedded at ~800px the branding covered the Graph search bar, and a fit could put tables under the header or footer.
Two commits; squash on merge.