Skip to content

feat(graph): sectioned graph layout with tree/radial views - #47

Merged
maty-millien merged 13 commits into
mainfrom
feat/section-graph-layout
May 19, 2026
Merged

feat(graph): sectioned graph layout with tree/radial views#47
maty-millien merged 13 commits into
mainfrom
feat/section-graph-layout

Conversation

@maty-millien

Copy link
Copy Markdown
Collaborator

Summary

  • Replace per-symbol nodes with file nodes grouped by folder, rendered as a tidy left-to-right tree of folders → files with separate tree and call edges.
  • Add a layout selector (top-right of canvas) toggling between tree and radial layouts; radial places folders/files on concentric rings sized to fit each subtree's angular budget.
  • File nodes show call counts (out/in) instead of folder path; folder nodes use a unified label color while keeping a depth-based accent dot.
  • Trim unused shadcn UI primitives and parser test fixtures; switch scrollbar colors to CSS variables for theming.

Introduces a tree/radial layout toggle for the graph canvas. File nodes
now display call counts (in/out) instead of folder path, and scrollbar
colors use CSS variables for theming.
Resolves conflicts by keeping this branch's file/folder graph model and
dropping main's old graph-node features (code/section/summary nodes,
node-summary module, canvas-edges, graph-legend, parser file/route
node types, imports edge type, incremental parser). Restores shadcn
primitives (alert-dialog, command, resizable, sonner) needed by main's
new features. Updates AI tools (read_node_source, graph_stats,
diff-to-node-status) to the new graph shape; removes imports_of and
imported_by tools (data no longer exists).
@maty-millien
maty-millien requested review from SobshDev and raph-bl and removed request for raph-bl May 19, 2026 16:59
@maty-millien
maty-millien merged commit fc3dba3 into main May 19, 2026
3 checks passed
@maty-millien
maty-millien deleted the feat/section-graph-layout branch May 19, 2026 16:59
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.

1 participant