dsh-plugin
DayuanJiang/next-ai-draw-iodsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
将 diagram-design 图表导出为 SVG/PNG,提取 draw.io/Mermaid/Excalidraw 结构,校验输出,并浏览 45 种图表类型。基于 cathrynlavery/diagram-design(MIT),需 python3,导出 PNG 还需 Playwright。
Diagram Design tools and gallery for DeepSeek Harness: export HTML diagrams to SVG/PNG, import from draw.io / Mermaid / Excalidraw, validate output, and browse a gallery of 45 diagram types.
A DeepSeek Harness bundle with four agent tools and a web gallery panel:
| Tool | What it does |
|---|---|
diagram_export | Export a diagram-design HTML file to a standalone SVG and/or PNG. |
diagram_extract | Parse a draw.io / Mermaid / Excalidraw file into a normalized digest for redrawing. |
diagram_self_check | Validate a generated diagram HTML file (accessible-SVG, single-file safety, viewBox). |
diagram_doctor | Diagnose the environment: bundled scripts, python3, Playwright availability. |
The gallery panel (sidebar "Diagram Gallery") lists the 45 diagram types with live example previews.
dsh plugin add github:Shang-ZZ/dsh-diagram-design
PNG export is the only feature that needs an extra dependency, installed once on demand (never automatically):
pip install playwright && playwright install chromium
The bundled Python scripts and example diagrams come from
cathrynlavery/diagram-design
(MIT, Copyright (c) 2025 Cathryn Lavery). See THIRD_PARTY_NOTICES.md.