dsh-codegraph-visualizer

DSH 的交互式代码图谱:以侧栏入口呈现(装了 dsh-better-sidebar 时则是它的一个标签页),渲染 dsh-codegraph(.codegraph/codegraph.db 或 codegraph CLI)或 dsh-tool-lens 提供的数据,支持调用链追踪、循环依赖检测、依赖与影响分析、目录/文件/函数聚类、四种布局与 PNG/SVG/JSON 导出。需要 dsh-codegraph 或 dsh-tool-lens 提供数据源,否则图谱为空。

插件介绍

DSH 的交互式代码图谱:以侧栏入口呈现(装了 dsh-better-sidebar 时则是它的一个标签页),渲染 dsh-codegraph(.codegraph/codegraph.db 或 codegraph CLI)或 dsh-tool-lens 提供的数据,支持调用链追踪、循环依赖检测、依赖与影响分析、目录/文件/函数聚类、四种布局与 PNG/SVG/JSON 导出。需要 dsh-codegraph 或 dsh-tool-lens 提供数据源,否则图谱为空。

安装方式

通过 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.

从 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.

版本兼容情况

第三方安装实测

安装测试结果
安装与注册通过
测试日期

安装提示

  • 可能调用终端命令