Pular para o conteúdo principal
S

dsh-diagram-design

shang-zz/dsh-diagram-design

Export diagram-design HTML diagrams to SVG/PNG, extract draw.io/Mermaid/Excalidraw structure, validate output, and browse 45 diagram types. Built on cathrynlavery/diagram-design (MIT); needs python3, and PNG export additionally needs Playwright.

Instalar

dsh plugin --profile web add github:shang-zz/dsh-diagram-design

README

dsh-diagram-design

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.

What it does

A DeepSeek Harness bundle with four agent tools and a web gallery panel:

ToolWhat it does
diagram_exportExport a diagram-design HTML file to a standalone SVG and/or PNG.
diagram_extractParse a draw.io / Mermaid / Excalidraw file into a normalized digest for redrawing.
diagram_self_checkValidate a generated diagram HTML file (accessible-SVG, single-file safety, viewBox).
diagram_doctorDiagnose the environment: bundled scripts, python3, Playwright availability.

The gallery panel (sidebar "Diagram Gallery") lists the 45 diagram types with live example previews.

Install

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

Attribution

The bundled Python scripts and example diagrams come from cathrynlavery/diagram-design (MIT, Copyright (c) 2025 Cathryn Lavery). See THIRD_PARTY_NOTICES.md.

License

MIT

Plugins relacionados