hanzhangzzz/dsh-diagram

Editable Excalidraw diagrams for DeepSeek Harness conversations.

dsh-diagram turns what a DSH session already understands about an article or document into an editable Excalidraw canvas instead of disposable Mermaid output: the agent creates the first structure, you refine it in DSH with a live preview card in the chat flow, and a Canvas tab opens the full editor without leaving the session. It supports a clean precise style or a warm-paper 'sketchnote' style with handwritten text and marker washes, revision-safe autosave, and export to .excalidraw, SVG or PNG.

UI Enhancements ★ 0 updated 2026-09-21
View on GitHub ↗

Install

dsh plugin --profile web add dsh-diagram@latest

npm dsh-diagram 0.4.0 verified 2026-09-03 (repository field → github.com/hanzhangzzz/dsh-diagram; README EN primary with 简体中文 edition). Install per README: npx -y @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add dsh-diagram@latest (or dsh plugin --profile web add dsh-diagram@latest / pnpm dsh ... from a checkout). Then type / and pick canvas-diagram in any session.

Compatibility

DeepSeek Harness 0.1.1-rc.2 (also verified on 0.1.1-rc.1 and the 0.1.0-rc.x line per README); browser UI with Excalidraw rendering.

Details

Recent updates

0.4.0 current on npm (verified 2026-09-03).

FAQ

How do I create a diagram?
Install the plugin, then type / and pick canvas-diagram in any DSH session; the agent produces the first canvas structure from the conversation.
Is the output editable after creation?
Yes — the result is a real Excalidraw canvas: a Canvas tab opens the full editor, autosave is revision-safe, and export produces .excalidraw, SVG or PNG.
Does it replace Mermaid?
It is an alternative workflow: Mermaid output is a static artifact, while dsh-diagram keeps the diagram editable in the conversation.

Alternatives

AKS1st/dsh-mermaid · lj970926/dsh-plugin-mermaid

More plugins in UI Enhancements

Browse more in UI Enhancements

Guides for UI Enhancements plugins