Stop Guessing, Start Visualizing: Introducing codegraph-viz! Ever joined a new team and felt completely lost in a massive, sprawling codebase? Or spent hours tracing a bug only to realize you broke a dependency you didn't even know existed? I’ve been there, and that’s exactly why I built codegraph-viz. codegraph-viz is a zero-config tool that turns any Python project into an interactive, D3.js-powered map. It’s designed to help you understand complex architectures in seconds, not days. No more digging through endless directories just to see how things connect. 🌟 Key Features: • Interactive Dependency Graphs: Click any node to see imports, dependents, and full source code without leaving the browser. • 4 Layout Modes: Switch between Force, Grid, Hierarchy, and Radial views to find the perspective that makes sense for your project. • Impact Analysis: Instantly see which files will be affected if you change a specific module. No more "I only changed one line" production incidents. • LLM-Ready Exports: Generate a token-efficient JSON index that helps AI agents understand your architecture for 90% fewer tokens. 🛠️ How to Get Started: You can install and run it directly from your terminal right now: 1️⃣ Install: pip install codegraph-viz 2️⃣ Scan Your Project: cd your-project codegraph scan Your browser will automatically open with a full interactive map of your codebase. No configuration, no databases, no accounts—just your code, visualized. Whether you're a new engineer onboarding, a tech lead catching architecture violations, or using AI to help you code, codegraph-viz is built for you. I've put the PyPI link in the first comment below! 👇 #Python #OpenSource #SoftwareArchitecture #DeveloperTools #DataVisualization #Coding #PythonProgramming #codegraph
Devs don't switch between massive code bases very often, but I think this would be really cool in the open source world to quickly get a sense of how everything fits together. Maybe you can pre-scan some of the most popular repsoitories and put them on the website. Does clicking on one of the nodes show more details and give a rough summary of what it's doing and how it interacts with other nodes?
Great going Deep!
Nice work
Check it out on PyPI: 🔗 https://pypi.org/project/codegraph-viz/