VS Code Extension: Madge Dependency Graph
Author: volkovmqxCreated Jan 27, 2026Updated Jan 27, 2026
Hi!
I've created a VS Code extension that wraps madge to generate dependency graphs directly from the editor.
Features:
- Right-click any JS/TS file in the Explorer → "Generate Dependency Graph"
- Automatic tsconfig.json detection for TypeScript projects
- Displays the SVG graph in a VS Code panel
Links:
- GitHub: https://github.com/volkovmqx/madge-dependency-graph
- VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=volkovmqx.madge-dependency-graph
Just wanted to share in case it's useful to others or worth mentioning in the madge README/docs.
Thanks for building madge, it's a great tool!
Source: pahen/madge