graphify
README
Graphify
Extract code structure → Build knowledge graph → Generate interactive visualization
Graphify scans source code repositories, extracts classes, functions, and imports, builds a dependency graph, detects communities, and renders an interactive HTML visualization. Available in Python and TypeScript.
Quick Start
TypeScript
cd typescript
npm install && npm run build
node bin/graphify.js build ./your-repo -o ./graphify-out
# Open graphify-out/graph.html in browserPython
cd python
pip install -e .
graphify build ./your-repo -o ./graphify-outImplementations
| Language | Status | CLI | Engine |
|---|---|---|---|
| TypeScript | ✅ Complete | node bin/graphify.js |
graphlib, tree-sitter WASM, vis.js |
| Python | ✅ Complete | graphify |
NetworkX, tree-sitter, graspologic |
TypeScript Features
- CLI commands:
build,query,path,explain,export - Interactive HTML visualization (vis.js) with search, filtering, community colors
- AST extraction for 6 languages (JS, TS, Python, Java, C, C++)
- Louvain community detection
- Natural language query engine with BFS/DFS
Python Features
- Full CLI with
/graphifyAI skill integration - Supports 31+ programming languages
- PDF, image, video, audio extraction
- MCP server, Neo4j export, SVG export
- Multi-backend LLM support (Claude, Gemini, OpenAI, Ollama, Bedrock)
Output
graphify-out/
├── graph.html Interactive visualization (vis.js)
├── graph.json Full graph data (nodes, edges, communities)
└── GRAPH_REPORT.md Analysis reportRepository Structure
graphify/
├── typescript/ TypeScript implementation
├── python/ Python implementation (forked from safishamsi/graphify)
├── ARCHITECTURE.md Pipeline architecture
└── README.md This fileLicense
MIT

