Skip to content

AI-assisted · Sep–Oct 2026

Code Graph Map

Desktop app to plan and visualize Unity and Godot code as an interactive graph.

Tool
Code Graph Map showing a sample Unity project as a force-directed graph of classes, interfaces, enums, events and their links, with the legend of node kinds on the left.

TL;DR

  • Built with Claude Code over three weeks.
  • Parses a linked Unity (C#) or Godot (GDScript and C#) project into a graph of types, members, inheritance, references and signals, and keeps it in sync as you save.
  • Plans follow the engine's rules: a Godot map knows scenes, nodes, scripts and signal connections, and refuses what Godot wouldn't accept.
  • Maps are TOML with keys in a fixed order, so they diff and merge cleanly in git, and notes survive every re-parse.

Code Graph Map is a desktop app for Windows, macOS and Linux to plan and visualize code architecture as an interactive, force-directed graph. Link a Unity (C#) or Godot (GDScript and C#) project and it draws the code, or start from an empty map and plan the classes, scenes and signals before you write them. The screenshots show the sample Unity project the app is tested against.

What it does

  • Visualize: reads a project's scripts and scenes into types, members, inheritance, references, events and signals with their subscribers, and keeps the graph in sync with every save. Notes, tags, layout and planned nodes survive each re-parse.
  • Plan: build a map by hand with nodes, links, Markdown notes, tags and categories. When the project later has what you planned, the app offers to turn the planned node into the real one and moves your notes across.
  • Engine-aware: a Godot map knows scenes, nodes, attached scripts, signal connections and instances, and refuses what Godot wouldn't accept, like a second root or a script that doesn't fit its node.
  • Readable at any zoom: folders become labelled areas, busy nodes draw larger, and link colours and arrows fade in as you zoom.
  • Safe with your project: the app never changes a linked project; the only files it writes are the maps you save.

How it's built

  • Tauri 2, with Rust crates for the core model, code extraction and the graph engine, and a React and TypeScript frontend that draws with PixiJS (WebGL2) and lays out with d3-force.
  • A .cgmap file is TOML with keys in a fixed order, so maps diff and merge well in git.
  • Installers for Windows, macOS and Linux.

Built with Claude Code

I designed the app and wrote its plan, then directed Claude Code session by session, reviewing and testing every change before it was committed.

Code Graph Map was built with Claude Code over three weeks, from 30 September to 21 October 2026. The repository keeps the spec, the architecture notes and a decision log beside the code. It's finished; the code and installers stay private for now.

Media

Screenshots and art

  • The inspector follows calls in both directions.
  • The local graph around one class.
  • Planning before the code exists.

1 / 3

A method selected in the graph: the inspector shows its qualified name, signature, source file and the methods it calls and is called by.
The inspector follows calls in both directions.

Like this?

Let's talk

Open to conversations about developer and production roles, and collaborations. I'm in Recife, Brazil (UTC−3).