Turn any folder of files into a navigable knowledge graph with community detection, honest audit trail, and three outputs: interactive HTML, queryable JSON, and a plain-language report.
bash
python graphify_wrapper.py ensure-installed
Or manually: pip install graphifyy
bash
python graphify_wrapper.py build /path/to/project
This runs the full pipeline: detect files → AST extraction → build graph → cluster → export.
Output goes to <project>/graphify-out/:
graph.html — interactive visualization (open in browser)GRAPH_REPORT.md — plain-language audit reportgraph.json — queryable knowledge graphcache/ — SHA256 cache for incremental updatesbash
python graphify_wrapper.py report
Or read graphify-out/GRAPH_REPORT.md directly. Present the key findings to the user: god nodes (highly connected), surprising connections, community structure.
bash
python graphify_wrapper.py query "how does authentication work"
Or use the CLI directly for more options:
bash
graphify query "show the auth flow" --graph graphify-out/graph.json
graphify query "what connects X to Y?" --graph graphify-out/graph.json --dfs
graphify query "explain dependency injection" --budget 1500 --graph graphify-out/graph.json
After building, send graphify-out/graph.html to the user so they can explore the interactive graph. Summarize GRAPH_REPORT.md in your response.
If graphify CLI is available, you can use these directly:
CommandDescriptiongraphify query "..." --graph <path>BFS traversal of the graphgraphify query "..." --dfs --graph <path>DFS — trace a specific pathgraphify query "..." --budget N --graph <path>Cap output at N tokensgraphify path "Node1" "Node2" --graph <path>Shortest path between conceptsgraphify explain "NodeName" --graph <path>Plain-language explanation of a node
graphify_wrapper.py) handles cross-platform compatibility (Windows CMD, Linux, macOS).graphifyignore file (same syntax as .gitignore) to exclude directoriesgraphifyy (pip) — automatically installed by wrapper