DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-drawio

z

dsh-drawio

Manifest valid

Standalone DeepSeek Harness plugin: Preview `.drawio` (mxGraph XML) diagrams in the Web Sidebar. Sidebar Preview for Flowcharts and `.drawio` Files

UI (client)hasBundlePatch

dsh-drawio

English | 中文

Background: DeepSeek Harness

DeepSeek Harness (dsh) is the open-source agent harness from DeepSeek AI, where nearly every capability is a plugin on Cordis. It is in developer preview and iterating fast, so expect compatibility-breaking changes (docs, 0.1.7-alpha.*); this plugin is a standalone third-party package that resolves @deepseek-ai/* from the running host.

The problem this plugin solves

A .drawio file opens as mxGraph XML source; this plugin renders it as the diagram you drew, read-only, in the Web Sidebar.

Screenshots

A .drawio file rendered as a diagram

The capture is this repository's docs/example.drawio: API gateway → Auth → Business logic, with read / write on the edge down to Database.

Install

npx @deepseek-ai/dsh plugin --profile web add @guowenzhang/dsh-drawio

From the npm registry: https://www.npmjs.com/package/@guowenzhang/dsh-drawio — restart the host afterwards; local checkouts, git sources and troubleshooting are in AGENTS.md.

Usage

Open a diagram

Opening a .drawio file from the file tree opens it in the Sidebar's document tab and renders it as a diagram, the way an image or a Markdown file opens. Decoding and layout are synchronous, so the diagram is there on the first paint rather than behind a loading frame; the image keeps the diagram's own aspect ratio, and the pane provides scrolling.

See which save formats are readable

Saved by draw.io asWhat the file holds
Plain XMLmxGraph XML as text, greppable in a diff
Compressed (draw.io's default)that same XML percent-escaped, raw-DEFLATE compressed, and base64 encoded

Read a multi-page diagram

A multi-page <mxfile> renders its first page. The other pages stay in the file, untouched; open it in dsh-drawioedit or in draw.io to see them.

Expect a preview, not an editor

The pane is read-only and inert. The file is decoded and laid out offscreen, and the pane receives a rendered SVG data: URL — never an engine instance or a live DOM — so a diagram's content cannot script the page. Editing needs dsh-drawioedit; the two are independent packages, and either can be installed without the other.

Notes and caveats

Edge routing and edge-label placement do not match draw.io. A .drawio file stores an edge's endpoints and its edgeStyle name, but not the path between them:

<mxCell id="e4" style="edgeStyle=orthogonalEdgeStyle;…" edge="1" source="n4" target="n5">
  <mxGeometry relative="1" as="geometry" />   <!-- no points, no label offset -->
</mxCell>

Both viewers therefore compute the bend points and the label position at render time from the same inputs, with different code: draw.io's editor adds its own routing and label-avoidance behaviour on top of the shared engine, and this plugin's engine does not carry it. Where the gap between two nodes is narrower than the label — 50px apart, 66px label — the label cannot clear both boxes without moving a node, and an opaque background would only paint over the text it covers.

Workaround. Drag the label where you want it in draw.io: the editor writes an explicit <mxPoint as="offset"> into the file, which every viewer honours. Widening the gap between the two nodes works equally well. Both fix the diagram at its source rather than in one viewer.

Shapes outside the bundled engine's set are drawn as plain rectangles, never omitted: draw.io ships several hundred stencil shapes and the bundled engine carries a smaller set of its own.

License

Apache License 2.0 — see LICENSE. Bundled third-party code is attributed in NOTICE.

"draw.io" is a trademark of its owner; this package is not affiliated with or endorsed by draw.io.

Further reading

Comments

Loading…

From the same category

awesome-dsh-plugin

by awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表

Development & Infrastructure

★ 18.3k

CC0-1.0

Python

Oct 10, 2026

Index only — not installable

by 0xsline

DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.

Development & Infrastructure

★ 1.2k

CC0-1.0

Python

Oct 10, 2026

Index only — not installable

by pax-beehive

Open-source CLI, schemas, resolver, and DSH agent tools for DSH Plugin Hub

Development & Infrastructure

★ 450

MIT

TypeScript

Oct 6, 2026

Index only — not installable

by xiajiajun516

DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.

Development & InfrastructureManifest valid

★ 176

MIT

TypeScript

Oct 8, 2026

dsh plugin --profile web add dsh-config-manager

by yjh051108

推荐组件(非必须):DeepSeek Harness 运行时注入器;已随 dsh-routing-suite 单仓库化保留,本仓库继续维护/发布。

Development & InfrastructureManifest valid

★ 164

TypeScript

Sep 18, 2026

dsh plugin --profile web add @dsh-external/dsh-super-injector

by jigjoy-ai

A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Mozaik runtime.

Development & Infrastructure

★ 124

MIT

TypeScript

Oct 2, 2026

Index only — not installable