Brain · Relationship graph
Relationship graph
See the brain as a graph, not a folder. A force-directed SVG graph of brain cross-references; node size scales with influence score. Graph draws the mode you pick (Brain, Code, Recall or OKF), and the Table view ranks the same brain files by the same influence stats.
Start here if you want to click any decision and see everything it touches: Relationships. Both open from Memory, side by side in the Decisions and errors group.
See it in motion
Where to find it
- Localhost:
/relationship-graph.html?repo=<id> - API:
GET /api/relationships?repo=<id> - Keyboard: ⌘ K then
graph - Navigation: Memory in the sidebar, then Relationship graph under All tools, in the Decisions and errors group
What it does for you
Configure
Nothing. It is built from the same brain markdown as the Relationships tab. Layout: a hand-rolled force-directed simulation in pure SVG (no D3, no framework). No client-side LLM. The graph draws up to 2,000 brain files per repo, ranked by influence score, and up to 10,000 of the heaviest cross-reference edges between them.
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
Last updated