Scan any Node.js/Express/MongoDB workspace and render a LIVE, interactive architecture diagram inside a VS Code Webview. Updates in real-time as files change.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Scan any Node.js / Express / MongoDB workspace and render a LIVE, interactive architecture diagram inside VS Code — updating in real-time as files change.
✨ Features
🔍 Auto-Scan — Automatically scans all .js and .ts files in your workspace using Babel AST parsing
📊 Live Graph — Renders an interactive dependency graph using Cytoscape.js with dagre layout
⚡ Real-Time Updates — File watcher detects changes and rebuilds the graph instantly on save
🎨 Node Types — Color-coded nodes for Routes, Controllers, Services, Models, Middleware, and more
🔁 Circular Dependency Detection — Highlights circular imports in red with DFS-based detection
📋 Table View — Toggle between Graph View and a clean Data Table for large projects
🤖 AI Explanations — Double-click any node to get an AI-powered explanation via GitHub Copilot
🖱️ Quick Navigation — Right-click on a node to open the file instantly in VS Code
📤 Export — Export the architecture diagram as PNG or JSON
🚀 Getting Started
Option 1: Right-Click (Easiest)
Right-click anywhere in the Explorer panel or inside any open file and select: