Blog / Maps
Codebase Visualization Tools Compared: 6 Hands-On Demos
Codebase visualization tools from six hands-on video demos: CodeCharta, Gource, dependency-cruiser, Understand-Anything, Floorplan, and where Code Tycoon fits.

Each codebase visualization tool answers one question well. CodeCharta shows where code is costly, Gource replays how it grew, dependency-cruiser draws what imports what, and AI map tools such as Understand-Anything and Floorplan walk you through how it works. Code Tycoon shows what the project is for and what your Claude Code sessions are doing to it right now.
"Visualize my codebase" sounds like one request, but people mean different things by it. Some want to find the expensive files. Some want a video of the repository's history. Some want to see import cycles before a refactor. Some just joined a team and want a guided tour.
This comparison is built on six YouTube videos in which developers ran these tools on real repositories: a 45,000-line Java project, a game with a client and server, a Google microservices demo, a 700,000-line app, and a personal Spring Boot repo. For each tool you get what the creator saw, how long setup took, what helped and where it fell short, with a timestamped link so you can check it yourself.
Five of the sections below are built from real developers' experience with each tool, credited by name, and checked against each project's own README. The Code Tycoon section is built from its README.
The short verdict
- Where is the code risky or expensive? Use CodeCharta. Richard Gross maps size, complexity and churn onto a 3D city and uses the red towers to start a team discussion.
- How did the repository grow, and who worked where? Use Gource. Mike Møller Nielsen got an animation in one command and an MP4 with ffmpeg.
- What imports what, and where are the cycles? Use dependency-cruiser (or Madge). Web Dev Cody found a server full of circular imports that explained random test failures.
- How does this unfamiliar code work? Try an AI map such as Understand-Anything or Floorplan, and budget tokens and minutes for it.
- What is the project about, and what are my AI sessions changing right now? That is the question Code Tycoon is built for, if you work with Claude Code or Codex.
Table of contents
- Which question does each tool answer?
- CodeCharta: where the code is costly
- Gource: how the repository grew
- dependency-cruiser: what imports what
- Understand-Anything: a guided tour of an unfamiliar repo
- Floorplan: an AI floor plan of your app
- Code Tycoon: what the project is for and what sessions are doing
- Comparison table
- Setup effort and cost, as the creators reported it
- Which one to start with
- Videos this comparison draws on
- FAQ
Which question does each tool answer?
Visualization tools fall into four groups, and the videos show the split clearly.
- Metric maps draw numbers you already have. CodeCharta turns each file into a building and lets you pick what area, height and color mean.
- History animations replay version control. Gource draws files as leaves on a growing tree and shows contributors moving between them.
- Dependency graphs read import statements. dependency-cruiser and Madge draw modules as boxes and imports as arrows, and flag cycles.
- AI maps read the code with a language model and explain it. Understand-Anything and Floorplan build a graph, then write an interactive tour of flows and components.
Code Tycoon overlaps with three of these (a city of the code, import roads, an AI-built map of the domain) and adds one thing none of the others has: the Claude Code and Codex sessions that are editing the project, drawn on the map as they work.
A ranking on one scale would mislead you. A Gource video will never tell you a file is too complex, and CodeCharta will never show you a session editing a file.
CodeCharta: where the code is costly
Video: Code Charta mit Richard Gross, Eberhard Wolff's software architecture stream, with Richard Gross of MaibornWolff, who works on CodeCharta. The stream is in German; the points below are paraphrased from it.
What it showed. Gross draws each file as a building: lines of code set the footprint, cyclomatic complexity the height and change frequency the color (7:00). In his words, translated, the red buildings are the start of the conversation, not the end. The live demo shows why. He clicks a file with 390 lines, a complexity of 92 and 14 code smells, then notes that it has about 20 authors, so plenty of people know it. A metric alone did not make it a problem.
A second example makes the same point. A large, flat, red building turned out to be a file holding all the test mocks. Whether to split it is a team decision, and the tool lets you flatten or exclude it so it stops dominating the map.
Setup. CodeCharta has two halves, analysis and visualization, joined by a .cc.json file. Gross installs the analysis tools with npm install -g codecharta-analysis, counts lines with Tokei (JUnit came out at 471 Java files and about 45,000 lines of code) and then pulls richer metrics from a local SonarQube. The README lists Node 22.19+ and Java 22+ for the command line tool. The Web Studio runs in the browser and, per Gross, is hosted on GitHub Pages with no backend, so your data stays local.
What was useful. Talking to non-developers. Gross shows a delta mode that colors what a refactoring improved, and notes the map can even be 3D printed, which he finds makes the code surprisingly tangible for people outside the team. He also shows an experimental street layout that keeps buildings in place when files are removed.
Limits. You need metrics first, and the map only says where numbers are high. Gross does not recommend looking at it every day: he suggests once a month or every sprint or two. CodeCharta is BSD-3-Clause and free.
Gource: how the repository grew
Video: gource visualize your git repo and create a mp4 file for showing off, Mike Møller Nielsen.
What it showed. Nielsen runs Gource on his own Spring Boot and Vue.js repository. With no arguments at all, Gource animates the history: folders as branches, files as leaves, a date at the top, a timeline you can scrub, and right-click to rotate and the mouse wheel to zoom. A README edit he made minutes before shows up at the end. His repository has few commits, and he says it still looks good.
Setup. He downloads the Windows build from gource.io and says he could not get it working on Linux. For a video you also need ffmpeg to turn Gource's raw PPM output into an MP4. His first gource -o attempt failed because he left out the file name (5:44). The PPM file is large because it is unencoded; after ffmpeg he had a 60 fps MP4 that kept his zooming and rotating. As he puts it, "i have read as little as possible to get started" (4:20).
What was useful. A shareable story of a project with almost no setup. The Gource README lists Git, Mercurial, Bazaar and SVN support and needs an OpenGL card. It is GPL-3.0 and free.
Limits. It shows activity, not quality or structure. A busy folder and a broken folder look the same, and nothing in the video reads imports or explains code.
dependency-cruiser: what imports what
Videos: This Library is Awesome for Visualizing your Codebase, Web Dev Cody, and Simple Dependency Cruiser Config, Anton Mendelson.
What it showed. Web Dev Cody points dependency-cruiser at his multiplayer game, with an npm script that includes the shared, client and server packages and writes an SVG. The graph made him rethink a barrel export file, because it hid which entities used which extensions. Then the server: orange lines, and "these are circular dependencies" (2:59). He ties them to unit tests failing at random with a constructor that came back undefined. To work on it, he narrowed the graph to the entity manager and entities and regenerated it.
Setup. Web Dev Cody notes that depcruise --init writes a config for you, and rules in it decide what turns orange or red. Anton Mendelson's video is about the friction. He opens by saying the default setup left him frustrated; you need Graphviz installed for the picture; and the default graph was "a little bit hard to understand and read" (2:23). His fix is a short config with a collapse pattern listing the top folders, which gave a much more readable graph of pages, features and the UI kit.
What was useful. Hard evidence for a refactor. Cycles are drawn in a color you choose, and the dependency-cruiser README uses the same rules to validate a project and report violations. Madge, a similar MIT tool, finds cycles with madge --circular and only needs Graphviz for images, per its README.
Limits. It reads JavaScript and TypeScript modules, and on a big project the full graph is a wall of arrows until you scope it. Web Dev Cody's own view is that it matters most where coupling hurts, like his game. It tells you a file imports another file, not why.
Understand-Anything: a guided tour of an unfamiliar repo
Video: This AI Tool Maps Any Codebase Before You Touch It, Better Stack.
What it showed. Understand-Anything is an open-source Claude Code plugin that combines static analysis with several LLM agents. The presenter runs it on a Google microservices demo repo. The dashboard lets you zoom from architecture down to the code and search for a concept such as payments. The guided tour walks one flow in order: entry point, validation, logic, database, external APIs, error handling.
Setup and cost. Install is a plugin command and one understand run (new to plugins? Here is what a plugin holds compared with a skill or an MCP server). The run "took ages to run, like 30 minutes" (2:11), and on a Claude Max plan it used about 25% of his rate limit.
What was useful. Onboarding, and context for an agent. The video's argument is that older tools show structure but not meaning: they tell you a file imports another, not which flow it belongs to. The tool is MIT licensed and incremental, per the video.
Limits. Token cost, and judgment. "It doesn't replace reading code" (7:08).
Floorplan: an AI floor plan of your app
Video: Floorplan: Finally Understand the Code Your AI Wrote, Hal Shin. Floorplan is an open-source project by Hayden Smith; Shin reviews it.
What it showed. Floorplan scans the code into a graph.json file, and an AI writes an architecture diagram from it. Shin tests it on two of his own apps: Safir, written by hand, and RecordOS, which he vibe coded. Clicking a node such as the worker phone app shows its code paths and dependencies. A Start here tour walks the whole app. Blueprints draw a planned feature before it is built. The built-in chat explained account deletion as a 30-day grace period followed by anonymization, which Shin confirms is exactly how he wrote it.
Setup and cost. Install is a couple of plugin commands, or paste the repo URL into your agent. Safir has about 500 files and 40,000 lines; RecordOS has 2,700 files and just over 700,000 lines. Generation took 6 and 17 minutes.
What was useful. The guided tour, the per-node code paths and a Health check whose findings come with a "fix with Codex" prompt.
Limits. Shin is candid. Health flagged a secret key that was really a public analytics ID, "a bit of a dud" (6:33). On the big app, "there's lines everywhere" and rendering was sluggish enough that he closed other apps. It missed his Expo mobile screens because of how that project is laid out. Chat diagrams vanish when you navigate away. And as the code changes, "you're going to have to recreate this graph" (14:25).
Code Tycoon: what the project is for and what sessions are doing
This section describes Code Tycoon from its own README rather than from an outside video. It reads what is already on your disk: the code, its git history, and the Claude Code and Codex transcripts. From those it draws several views of one project (all of them).

The domain map. Every entity the project deals with (User, Post, Subscription, a Stripe webhook event) is a floating isle. Bridges between isles are relations labeled with a verb. The files that implement an entity stand on its isle. Below sits the real world: the people the project serves, the outside systems it calls and the money that moves. Isles show health: cracks where code is shaky, scaffolding where it is half built, a ghost where something is needed but missing, and a red flag where code built for an older setup still carries the new one. That last one is drift, listed with the evidence, what it costs today and the fix.
Flows. Pick a user journey and a courier walks it isle by isle and file by file, marked works, partial or broken. This is close to the guided tours in Understand-Anything and Floorplan, drawn on the domain map.
Building and updating the map. The map is built once by Claude Sonnet through your own Claude Code, with read-only tools, capped at $10 API-equivalent. The README's example map of an open-source Next.js app cost $0.33. A different repo from the videos above, so the numbers are not a like-for-like comparison. After that the map follows your commits: it updates only when a commit adds, deletes or renames a code file or declares or drops a type, class, table, schema or route. It addresses the staleness Hal Shin describes for Floorplan, though each update is another model run.

The city. Modules and files are buildings grouped into districts by role (database, payments, auth, UI, API), not by folder. Roads are real imports. Building height is size and commit churn, which puts it near CodeCharta's idea, with fixed meanings instead of metrics you choose. Zoom in for one building per file and click it for its imports, commits, the tasks that touched it and an AI-written description. Replay rebuilds the city from the first commit, file by file, the way Gource replays a tree.
Sessions, live. This is the part no other tool here does. Every Claude Code session is a drone over the city: a read is a scan beam, a write throws sparks, a command puffs smoke. On the domain map, each session hovers over the entity it is touching. Alerts fire when two sessions edit one file or work in one module, or when a session needs your answer. We cover why that matters in parallel Claude Code sessions and file collisions.

The architecture diagram. The same project as boxes and connectors, drawn by metro-map rules from real imports. Distance means nothing, only who connects to whom. Lines run straight with few turns, every line has the same weight, and dependency order runs top to bottom, with entry points in a band on top and outside systems at the bottom. Each session lights up the modules it reads and changes.
Setup. npx code-tycoon serves it on http://127.0.0.1:4400. It needs Node 22.13+, git, and a project you have used Claude Code in. Everything is read locally into a local database, and the README says "There is no Code Tycoon server and no account" unless you choose the remote option. It is AGPL-3.0 and free to self-host; hosted plans are $39, $69 and $129 per month (pricing).
Limits. It is built for people who use Claude Code or Codex. Without session transcripts you keep the code views but lose the live sessions and the task history. It has no metric importers like CodeCharta's SonarQube import, so it is the wrong tool for a coverage or complexity review. The README does not list supported languages, so try it on your stack. The domain map needs a model run, with a stated cap.
Comparison table
What each tool showed in the videos and what its own README states, read on 2026-11-26.
| CodeCharta | Gource | dependency-cruiser | Understand-Anything | Floorplan | Code Tycoon | |
|---|---|---|---|---|---|---|
| Question it answers | Where is code costly or risky? | How did it grow, who worked where? | What imports what, where are cycles? | How does this repo work? | How does my app work, what is planned? | What is it for, what are sessions doing? |
| What you see | 3D city of chosen metrics | Animated history tree | Graph of modules and imports | Zoomable graph and guided tour | Clickable diagram, tours, health | Domain map, city, metro diagram, live sessions |
| Input | Analyzers, SonarQube, Tokei, CSV | Version control log | JS/TS source | Repo, via Claude Code | Repo, via a coding agent | Code, git, Claude Code and Codex transcripts |
| Uses an AI model | Not in the demo | No | No | Yes | Yes | For the domain map and descriptions |
| Setup seen in video | npm CLI plus analyzers | One command; ffmpeg for video | npm, Graphviz, a config | Plugin install, 30 min run | Plugin install, 6 to 17 min run | npx code-tycoon (README) |
| Stays current | Re-run analysis | Re-run | Re-run | Incremental, per video | Regenerate graph | Follows commits |
| License | BSD-3-Clause | GPL-3.0 | MIT | MIT, per video | Open source | AGPL-3.0 |
| Price | Free | Free | Free | Free, plus tokens | Free, plus tokens | Free self-hosted; $39 to $129/mo hosted |
Setup effort and cost, as the creators reported it
- Fastest first picture: Gource. Mike Møller Nielsen ran it with no arguments and had an animation; the MP4 took ffmpeg and one syntax fix.
- Most configuration: dependency-cruiser and CodeCharta. Anton Mendelson needed Graphviz and a hand-written config to get a readable graph. Richard Gross combined Tokei and SonarQube before the map said anything about quality.
- Most compute: the AI maps. Better Stack reported about 30 minutes and roughly a quarter of a Claude Max rate limit for one repo; Hal Shin reported 6 and 17 minutes for his two apps.
- Code Tycoon states its cost per build in the README: a $10 cap, $0.33 for its example map.
Which one to start with
Pick CodeCharta if you already collect metrics (SonarQube, coverage) and want a map you can take to a quarterly review or a product owner.
Pick Gource if you want a history video for a release, a retrospective or a new hire, and have no other question.
Pick dependency-cruiser or Madge if you are about to refactor a JavaScript or TypeScript project and need to see the cycles first, or want to enforce import rules.
Pick Understand-Anything or Floorplan if you are new to a codebase and want an explained tour, and you can spend the tokens and the minutes.
Pick Code Tycoon if you run Claude Code or Codex sessions on your projects and want to know what the project is about, what drifted, and what each session is changing while it runs. The self-hosted version is free with npx code-tycoon.
They also combine. A dependency graph and a domain map answer different questions about the same refactor, and a Gource video costs nothing to add. If several sessions run on one project, read how to run Claude Code on a dedicated server and the comparison of claude-squad, ccmanager and Conductor. To check what the sessions changed afterwards, see how to review Claude Code changes.
The bottom line
Choose by the question you have. The six videos agree on one thing: every map is a starting point. Richard Gross treats red towers as the start of a discussion, Web Dev Cody's cycles were a to-do list, and both AI map reviewers stress that the tool does not replace reading the code.
If your code is more and more written by AI sessions, the question moves from "what does this file import" to "what is this project about now, and what is changing it". That is the question Code Tycoon answers. The hosted plans put it on a server you reach from any browser.
Videos this comparison draws on
- Code Charta mit Richard Gross, Eberhard Wolff (with Richard Gross), 2025-01-25. In German.
- gource visualize your git repo and create a mp4 file for showing off, Mike Møller Nielsen, 2020-09-03.
- This Library is Awesome for Visualizing your Codebase, Web Dev Cody, 2025-01-12.
- Simple Dependency Cruiser Config (for visualizing dependency graph), Anton Mendelson, 2023-02-02.
- This AI Tool Maps Any Codebase Before You Touch It (Understand-Anything), Better Stack, 2026-05-20.
- Floorplan: Finally Understand the Code Your AI Wrote, Hal Shin, 2026-11-19.
FAQ
What are the best codebase visualization tools?
It depends on the question. CodeCharta maps metrics such as complexity and churn, Gource animates git history, dependency-cruiser and Madge graph imports and cycles, Understand-Anything and Floorplan build AI-explained maps, and Code Tycoon maps what a project is for alongside the Claude Code sessions changing it.
Which tool shows circular dependencies?
dependency-cruiser and Madge both detect circular imports in JavaScript and TypeScript projects. In Web Dev Cody's video, dependency-cruiser drew them as orange lines across his game server, and CodeCharta's dependency parser also flags cycles.
How long does an AI codebase map take to build?
In the videos, Understand-Anything took about 30 minutes on a microservices demo and used about a quarter of a Claude Max rate limit. Floorplan took 6 minutes on a 40,000-line app and 17 minutes on a 700,000-line app.
Can Gource export a video?
Yes. Gource writes a raw PPM stream with the -o option, and ffmpeg encodes it into an MP4. Mike Møller Nielsen's video shows the whole process on Windows, including a 60 fps result.
Are these tools free?
CodeCharta, Gource, dependency-cruiser and Madge are free open-source projects. Understand-Anything and Floorplan are open source but spend model tokens. Code Tycoon is AGPL-3.0 and free to self-host, with hosted plans at $39, $69 and $129 per month.
How is Code Tycoon different from Floorplan or Understand-Anything?
All three use a model to map what code does. Code Tycoon also draws the Claude Code and Codex sessions working in the project as they run, alerts when two sessions edit one file, and updates its domain map by itself when a commit changes the structure of the code.
Related articles
- Parallel Claude Code sessions and file collisions: what happens when two sessions edit one file.
- How to review Claude Code changes: checking what a session did before you merge.
- How to run Claude Code on a dedicated server: where the sessions run.
- claude-squad vs ccmanager vs Conductor: managing parallel sessions.
- What does Claude Code really cost per month?: the cost side, including model runs like the AI maps above.
About this research
Anton Goldshtein is a two-time founder who previously bootstrapped a company to $100M in revenue. His team runs its own products on Code Tycoon every day.
This article is based on the transcripts of the six videos listed above, watched in full, with timestamps checked against each transcript, plus the CodeCharta, Gource, dependency-cruiser, Madge and Code Tycoon READMEs, read on 2026-11-26. Observations about the other tools come from the creators named. The CodeCharta stream is in German and is paraphrased, not quoted.
Content reviewed and updated: 2026-11-26
Keep reading
Codex Cloud vs Jules vs Copilot Coding Agent (2026)
Codex cloud vs Jules vs GitHub Copilot's cloud agent: where tasks run, daily and plan limits, repo access, December 2026 prices, and when your own server wins.
Sculptor vs Claude Squad: Desktop App or tmux (2026)
Sculptor vs Claude Squad for parallel Claude Code: why Sculptor dropped per-agent containers, worktrees, setup, platforms, review flow and laptop vs server use.
Superset Review: What Paradev Gets Right and Wrong (2026)
Superset, now Paradev, reviewed from its docs and pricing: worktrees, 20+ agents, the skip-permissions default, Usage page, cloud hours and who should use it.