Repository navigation
docs: add graphify knowledge graph of the repository - #127
Merged
Merged
Conversation
Add the graphify report (GRAPH_REPORT.md), the interactive community view (graph.html) and the curated community labels for the whole repository: 41,244 nodes, 139,201 edges, 788 communities. The raw graph.json (~80 MB), the extraction cache, the --update manifest and per-machine state are gitignored, since they are too large for the repository or only valid on the machine that built them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What this changes
Adds a graphify knowledge graph of the whole repository:
graphify-out/GRAPH_REPORT.md(audit report: god nodes, communities, surprising connections, suggested questions),graphify-out/graph.html(interactive view, aggregated to one node per community) and the curated community labels. It also gitignores the outputs that should not be committed.Why
To give a navigable map of how the layers relate (DAL → ServerServices → API → ClientServices → GUIClient, plus the TreeDataGrid / plugin-SDK submodules and the docs/roadmap corpus). Not tied to a roadmap item.
How it was verified
/graphify .: 3,203 files detected; 3,028 code files extracted by AST (40,984 nodes), and 175 docs, images and one PDF extracted semantically by 15 agents (609 nodes, 694 edges, 26 hyperedges). Final graph: 41,244 nodes, 139,201 edges, 788 communities.Things a reviewer should know
graph.json(~79 MB, over GitHub's 50 MB warning limit),cache/(~255 MB),manifest.json,cost.json, and the per-machine.graphify_*state. The manifest is excluded on purpose: without the matchinggraph.jsonand cache, a teammate'sgraphify --updatewould treat every file as unchanged and build an almost empty graph. Anyone who wants to rungraphify querylocally runs/graphify .once.DateTimehundreds of times..sqlfiles added nothing, becausetree_sitter_sqlisn't installed, so the numberedStructure/andData/upgrade scripts are missing from the graph. 4 C# files had parse errors and were only partly read, includingsrc/GUIClient/Validation/ValidationExtensions.csandsrc/Tools/AiGovernance/AiModelEvaluator.cs. graphify skipped 14 files it flagged as sensitive: the certificates and keys,docs/security/SECRETS.md, andsrc/GUIClient/Styles/Tokens.axaml(likely a false positive).graph.htmlis generated output (about 2 MB). It will go stale as the code changes, and nothing regenerates it automatically.Checklist
Tests
dotnet test src/netrisk.slnpasses: not run, no code changed.Database
n/a, no schema change.
Security
src/*/Certificatesanddocs/security/SECRETS.mdbefore extraction, and no committed file contains a local path.UI compliance (desktop GUI)
n/a, no
src/GUIClient/Viewschange.Docs
🤖 Generated with Claude Code