Skip to content

Add codegraph visual file-level graph export - #1467

Open
amyrsaalehi wants to merge 2 commits into
colbymchenry:mainfrom
amyrsaalehi:feat/codegraph-visual
Open

Add codegraph visual file-level graph export#1467
amyrsaalehi wants to merge 2 commits into
colbymchenry:mainfrom
amyrsaalehi:feat/codegraph-visual

Conversation

@amyrsaalehi

Copy link
Copy Markdown

Summary

  • Adds codegraph visual to write a dark-theme D3 file-level graph to .codegraph/visual.html
  • Caps cross-file links and skips orphan endpoints so large/mid-sync indexes stay safe

Test plan

  • npm run build
  • npx vitest run __tests__/cli-visual.test.ts
  • codegraph visual on an indexed repo and open .codegraph/visual.html

amyrsaalehi and others added 2 commits July 28, 2026 15:55
Introduces a new command `codegraph visual` that generates a dark-theme D3 HTML visualization of the code graph, saved to `.codegraph/visual.html`. The `writeVisualHtml` method in the CodeGraph class handles the creation of the visualization, and a new query method retrieves distinct cross-file links for the graph. Updates to the CHANGELOG reflect this new feature.
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