CodeVisualizer

VS Code extension that draws function flowcharts and codebase dependency graphs

Tree-sitter parsers compiled to WASM turn source into an AST, which becomes an intermediate representation of blocks and edges and then Mermaid, rendered as an interactive flowchart in a webview. A second pipeline resolves imports across the workspace into a color-coded dependency graph.

Trade-offs

  • Parsing runs locally on Tree-sitter WASM with no network requests. Source never leaves the machine, and each language needs its own grammar and analysis.
  • AI labels are opt-in and send only node labels, never whole code, cached locally to cut repeat calls. Ollama keeps even those on the machine.

Q&A2

The AST is walked for control structures, function boundaries, exception handling and async operations, turned into an IR of blocks and edges, emitted as Mermaid and rendered by Mermaid.js in a webview.

Reviews

Loading reviews

    More in VS Code

    See all 7 →
    • gitpaneMulti-repo Git dashboard for the terminal and the VS Code Explorer
    • Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
    • KiiraType-checks the TypeScript code fences in Markdown against the real project
    • SQL CrackVS Code extension that draws SQL query flow, dependencies and column lineage
    • ERD StudioLogical data modelling canvas in VS Code, stored as DBML in the repo
    • uv-vscodeVS Code extension that makes uv scripts and dependencies first-class

    More in Developer tools

    See all 88 →
    • EpuppBrowser extension that opens a live ClojureScript REPL into any web page
    • ResonanceA local-first API client with no account, collections kept as YAML files
    • PandiaDesktop JSON editor for multi-gigabyte files, with the document held in Rust
    • PandaWardLocal application security assessment that reports what it couldn't decide
    • ScalexScala code navigation for coding agents, from source and without a build
    • polyOne Rust binary that lints and formats about 30 languages

    More in TypeScript

    See all 176 →
    • Charted RootsGenealogy and worldbuilding inside an Obsidian vault, from GEDCOM to maps
    • Prisma CalendarCalendar, timelines and recurring notes over the dated notes in Obsidian
    • MigrationPilotPostgreSQL migration linter that blocks unsafe DDL before merge
    • TileLineBasePlain-text database for Obsidian with tables, kanban, gallery and slides
    • MuTracerPhysically based path tracer for the web on WebGPU, with a WebGL 2 fallback
    • open-computeSelf-hosted Cloudflare Workers-compatible platform in one Rust binary