dsh-codegraph-visualizer

Interactive code-graph visualization inside DSH: a sidebar entry (a tab inside dsh-better-sidebar when that plugin is installed) draws the graph produced by dsh-codegraph (its .codegraph/codegraph.db or the codegraph CLI) or by dsh-tool-lens, with call-chain tracing, cycle detection, dependency and impact analysis, directory/file/function clustering, four layouts, and PNG/SVG/JSON export. Requires dsh-codegraph or dsh-tool-lens as the data source; without one the graph is empty.

Overview

Interactive code-graph visualization inside DSH: a sidebar entry (a tab inside dsh-better-sidebar when that plugin is installed) draws the graph produced by dsh-codegraph (its .codegraph/codegraph.db or the codegraph CLI) or by dsh-tool-lens, with call-chain tracing, cycle detection, dependency and impact analysis, directory/file/function clustering, four layouts, and PNG/SVG/JSON export. Requires dsh-codegraph or dsh-tool-lens as the data source; without one the graph is empty.

Installation

Install from npm

dsh plugin --profile web add dsh-codegraph-visualizer

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:xuanyuanchumo/dsh-codegraph-visualizer

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Independent install test

Install result
Installed and registered
Test date

Installation notes

  • May run terminal commands