Interactive Knowledge Graphs for AI-Assisted Architecture.
Graphify transforms your source code into a navigable architectural map. It connects the dots between classes, functions, and files, giving you (and your AI coding assistants) a clear mental model of even the most complex repos.
🚀 Key Features
One-Click Analysis: Right-click any folder in the Explorer to generate an instant architectural knowledge graph.
Deep Language Support: Structural AST extraction for Python, JavaScript, TypeScript, Go, Rust, Java, C++, Ruby, PHP, and more.
Interactive Visualizer: Explore your project structure with a built-in vis.js dashboard. Zoom, pan, and filter nodes to understand relationships.
Code Integration: Click any node in the visualizer to jump directly to the source code file in your VS Code editor.
AI-Ready Intelligence: Automatically detects "God Nodes" (high centrality) and "Surprising Connections" to focus your refactoring or research efforts.
Resilient Engine: Built to handle massive corpora and partial failures with alphabetical resilience and real-time progress reporting.
🛠️ Usage
Analyze a Project
Open any project folder in VS Code.
Right-click a folder or file in the File Explorer.
Select Graphify: Build Knowledge Graph.
Once extraction is complete, the interactive visualizer will open automatically.
View Existing Reports
Open the Command Palette (Cmd+Shift+P or Ctrl+Shift+P).
Type Graphify: Open Interactive Visualizer.
If multiple reports exist, select the one you'd like to explore.
🚀 Quick Start
Open a Folder: Open your project folder in VS Code.
Analyze:
Right-click any folder and select "Graphify: Build Knowledge Graph".
Or press Cmd + Shift + P and type Analyze Folder.
Explore: Use the Interactive Sidebar icon to see your architecture visualized.
⚙️ Configuration
Graphify needs a Python interpreter to analyze your code. By default, it looks for python3 or a local .venv in your project.
To manually set your Python path:
Open terminal and run: which python3
Copy the resulting path (e.g., /usr/bin/python3).
In VS Code, go to Settings (Cmd + ,).
Search for graphify.pythonPath.
Paste your path there.
🔧 Troubleshooting & Requirements
requirements
Python 3.9+
The anytechie-graphify PyPI package (provides the graphify Python module and CLI).
"Graphify Python engine not found"
One-Click Fix: Click the "Install Now" button on the error notification.
Manual Fix: Ensure pip install anytechie-graphify runs successfully in your project's terminal.
Virtual Environments: If you use a Venv, point graphify.pythonPath to the Python inside that venv (e.g., ./.venv/bin/python3).
Activity Bar Icon Not Visible
Propagation Time: If you just installed the update, the marketplace may take a few minutes to refresh.
Debug Mode: If you are developing the extension, press F5 to see your changes immediately.
Theme Cache: Try toggling between Light and Dark themes to refresh the Activity Bar icons.
☕ Support
If you find Graphify useful for your architectural analysis, consider supporting its development: