Code Map
Navigate your entire codebase as a live, zoomable dependency graph. Every file is a node. Every import is an edge. Color-coded by health score so you can spot problem areas instantly.
How it works
Mapnostics builds a directed acyclic graph (DAG) from every static import and export in your repository. The graph is re-computed after every re-index โ so as your codebase evolves, the map stays accurate. Each node is annotated with its health score, primary technology type, dead code flags, and zombie code instances.
- Nodes โ one per file, sized by import count (more connections = larger node).
- Edges โ directed from importer to imported, showing the dependency flow.
- Clusters โ related files group together automatically by directory.
- Color โ health score determines color: green (healthy), amber (at risk), red (critical).
Live demo
Watch the graph build node by node. Click any node to inspect its health score, type, and imports. The detail panel updates instantly with no layout shift.
Navigating the map
Zoom and pan
Use the + / โ controls or your mouse wheel to zoom. Click and drag to pan. Double-click a node to center it.
Selecting nodes
Click any node to open the detail panel โ health score, file type, list of imports, and outgoing dependency count. Click again to deselect.
Filtering
Use the filter bar to isolate specific file types (TSX, TS, CSS), health ranges, or directories. Combine with Dead Code filters to highlight deletion candidates in the graph.
Node colors
- Green (health 90โ100) โ well-maintained, low coupling, no issues flagged.
- Amber (health 70โ89) โ some dead code, larger than ideal file size, or low test coverage.
- Red (health 0โ69) โ significant issues: dead code, secrets, zombie code, or very high coupling.