Tab · Insights

Relationship graph

See the brain as a graph, not a folder — the influence map that explains the codebase. Force-directed SVG graph of brain cross-references; node size scales with influence score.

See it in motion

Where to find it

  • Localhost: /relationship-graph.html?repo=<id>
  • API: GET /api/brain-graph?repo=<id>
  • Keyboard: K then graph
  • Sidebar: Insights → Relationship graph

What it does for you

Hubs are visually obvious.CLAUDE.md, INDEX.md, and decisions.md become the big nodes in the center; tactical files cluster around them. You see the structure of the project's knowledge in one frame.
Orphans drift to the edge.Files with zero references fly off to the corners. If a file is supposed to matter and it's out there, that's a finding — probably nobody links to it from where it would actually be read.
Click any node, jump to the file.Each node deep-links to its rendered HTML twin. The graph is a launcher as much as a diagram.

Configure

Nothing — built from the same brain markdown as Relationship stats. Layout: D3 force simulation in pure SVG. No client-side LLM. Caps: 2,000 nodes, 10,000 edges.

Use it well

Open at the start of a new feature. Find the hub closest to the area you're changing; read it first. After the feature ships, re-open and check whether the new file gravitated toward the center or drifted to the edge.

Read more