Back to directory

dsh-drawio

In a curated listMaintenance: Active

jean3690/dsh-drawio

Lets the agent scaffold, edit, validate and render .drawio diagrams, with a live SVG sidebar board and embedded editor that saves back into the workspace.

View on GitHub
$ dsh plugin --profile web add https://github.com/jean3690/dsh-drawio

15

stars

4

forks

JavaScript

Language

NOASSERTION

License

2026-08-18

Created

2026-09-07

Last push

Apache-2.0 DSH plugin: four drawio tools (template, structured edit, validate, render) plus a sidebar board that embeds the official diagrams.net editor and saves straight back into workspace files.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-11-24

License

Apache-2.0

01What can it help you accomplish?

  • Let the model change a diagram through structured operations instead of hand-editing XML

    An updated `.drawio` file plus an inline PNG preview, with nodes and edges upserted, moved, resized, restyled, relabelled or deleted

    Developers who maintain flowcharts and architecture diagrams but do not want to touch mxfile XML

  • Watch the diagram while the conversation is still running

    A live SVG preview in the right-hand Drawio board with zoom / fit controls, while the chat column narrows but stays visible

    People running long agent sessions in the DSH Web GUI who want to check each diagram without switching windows

  • Polish an agent-generated diagram in the official editor and save it straight back

    The embedded diagrams.net editor (local assets, offline) where File → Save writes into the workspace file, or a full-screen standalone tab

    Docs and design maintainers who need drawio's full interaction — dragging, styling, swimlanes — not just model output

02How to install into DeepSeek Harness

Prerequisites

  • DeepSeek Harness with the Web GUI — the plugin installs into the web profile and only takes effect after `dsh web` restarts
  • `.drawio` files in the workspace — the board only lists `.drawio` files found by a recursive scan with capped depth and item count

Installation steps

  1. 01

    Add the plugin to the web profile: `dsh plugin --profile web add https://github.com/jean3690/dsh-drawio`

    $ dsh plugin --profile web add https://github.com/jean3690/dsh-drawio

  2. 02

    Restart `dsh web` so the sidebar entry, the four tools and the bundled webapp load

    $ dsh web

  3. 03

    Optional: edit the profile's cordis.yml or patch to tune `agentTools`, `pngScale` and `fontFamily`

Verify the integration

  • A 「Drawio 画板」 entry shows up in the sidebar after the restart
  • The four `drawio_*` tools are in the model toolset, the skill loads, and the bundled webapp is served under `/drawio/*`

03DSH integration and capability boundaries

DSH integrationNative runtime

Native DSH plugin installed into the web profile with `dsh plugin --profile web add`: after `dsh web` restarts, the sidebar gets a Drawio board, four `drawio_*` tools join the model toolset and the bundled diagrams.net webapp is served under `/drawio/*`.

  • Four drawio agent tools

    A one-line request, or an existing `.drawio` file in the workspace→mxfile skeletons, structured edits, validation reports, and SVG / PNG written to the workspace with an inline PNG preview

    `drawio_edit` rewrites the target `.drawio` file in place`drawio_render` creates SVG and PNG files inside the workspace
  • Sidebar Drawio board

    `.drawio` files found in the workspace→A recursive file list plus a live SVG preview, zoom / fit controls, and a file list that stays collapsed until opened

    Injected into the conversation column, so it competes with task-board / ssh / toolbox panels
  • Embedded official diagrams.net editor

    A selected `.drawio` file, opened with the 「在编辑器中打开」 action→The bundled official webapp for dragging nodes, edges and styles; File → Save posts back into the workspace file and refreshes the board preview

    Saving overwrites the corresponding `.drawio` file in the workspaceReopens automatically when the agent edits the same file with `drawio_edit`
  • Standalone editor tab

    The 「独立页面」 button in the board→A full-screen official editor in a new tab; its Save writes back, and 「弹回画板」 saves, shows the board and closes the tab

    Opens a browser tab and closes it again when bouncing back to the board
  • Zero-dependency SVG / PNG renderer

    drawio XML (mxfile)→SVG from a pure-TypeScript translator shared by host and browser, rasterised to PNG on the host with `@resvg/resvg-js`

04Who is it for? When not to use it?

Good for

  • Developers who maintain flowcharts and architecture diagrams but do not want to touch mxfile XML
  • People running long agent sessions in the DSH Web GUI who want to check each diagram without switching windows
  • Docs and design maintainers who need drawio's full interaction — dragging, styling, swimlanes — not just model output

Not for

  • It is a DSH Web GUI plugin installed into the web profile: the README adds it with `dsh plugin --profile web add`, the board and bundled webapp live in the web GUI, and nothing takes effect until `dsh web` restarts.
  • It writes to your workspace: `drawio_edit` writes structured changes back into the target `.drawio` and `drawio_render` puts SVG and PNG output there, so point it at a file you mean to change.
  • The pure-TypeScript renderer only covers the shapes and styles the README lists: `shape=image`, complex tables and specialised UML shapes fall back to dashed placeholders, and polylines without explicit waypoints get basic orthogonal routing only.
  • The board is injected at DOM level into the conversation column, so it coexists exclusively with panels such as task-board, ssh and toolbox — only one of them can occupy that slot.

05Compatibility, maintenance and safety notes

  • It is a DSH Web GUI plugin installed into the web profile: the README adds it with `dsh plugin --profile web add`, the board and bundled webapp live in the web GUI, and nothing takes effect until `dsh web` restarts.
  • It writes to your workspace: `drawio_edit` writes structured changes back into the target `.drawio` and `drawio_render` puts SVG and PNG output there, so point it at a file you mean to change.
  • The pure-TypeScript renderer only covers the shapes and styles the README lists: `shape=image`, complex tables and specialised UML shapes fall back to dashed placeholders, and polylines without explicit waypoints get basic orthogonal routing only.
  • The board is injected at DOM level into the conversation column, so it coexists exclusively with panels such as task-board, ssh and toolbox — only one of them can occupy that slot.
  • The board's file list comes from a recursive workspace scan with capped depth and item count, so deeply nested folders or large repositories will not be listed in full.
  • The board width is bounded to 300–1000 px (draggable and persisted) and opening it narrows the conversation column while keeping it visible.
2026-08-182026-09-07Not specified by the author

Apache-2.0 (stated in the README License section) · early-stage project, last push 2026-09-07, no tagged release yet; ships the official draw.io v31.1.8 webapp as local static assets

06Frequently asked questions

How do I install dsh-drawio in DeepSeek Harness?

Run `dsh plugin --profile web add https://github.com/jean3690/dsh-drawio`, then restart `dsh web`. The plugin installs into the web profile, so the Drawio board appears in the Web GUI sidebar and the four `drawio_*` tools join the model toolset.

Does the agent hand-write drawio XML?

No. `drawio_edit` runs structured operations — upsert, delete, move, resize, restyle and relabel on nodes and edges — and writes the file back afterwards, so the model never edits mxfile XML by hand; `drawio_template` only supplies the starting skeleton.

Is the embedded editor usable offline?

Yes. The diagrams.net webapp ships as local assets (official draw.io v31.1.8 static files unpacked from the release), and File → Save travels over a postMessage bridge straight into the workspace file, so no network round-trip is involved.

What does the plugin write into my workspace?

`drawio_edit` rewrites the `.drawio` file you pointed it at, and `drawio_render` writes SVG plus PNG output next to it and inlines the PNG in the conversation. The board itself only lists `.drawio` files found by a recursive scan with depth and count limits.

Which drawio features are out of scope?

`shape=image`, complex tables and specialised UML shapes render as dashed placeholders, and polylines without explicit waypoints only get basic orthogonal routing. The board is also injected into the conversation column, so it cannot share space with task-board, ssh or toolbox panels.

08Data and sources

  • Author-claimedgithub.com1ae7543db491…

    DSH(DeepSeek Harness)Web GUI 的 diagrams.net(drawio)插件:**agent 画图工具 + 侧边栏「Drawio 画板」**,工作区 `.drawio` 文件所见即所得。

  • Author-claimedgithub.com1ae7543db491…

    重启 `dsh web` 后生效:侧边栏出现「Drawio 画板」入口,四个 `drawio_*` 工具进入模型工具集,skill 自动可加载,内置 drawio webapp 挂在 `/drawio/*`。

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-24. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.