Repository navigation
Diagramon 3.8.15
本页中英双语:中文在前,英文在后。 / Bilingual release notes: Chinese first, English below.
中文
Diagramon 3.8.15 修复一个真实案例的转换缺陷:Mermaid 里大量用 A("标签<br>(IP)") 这种占位写法的图,转成 drawio 后会图形乱掉——现在能正确还原。
下载
| 方式 | 文件 | 说明 |
|---|---|---|
| 安装版(推荐) | Diagramon_3.8.15_x64-setup.exe(约 62.07 MiB) |
装完可用内置自动更新;缺 WebView2 时安装器会自动下载运行时 |
| 便携版(免安装) | Diagramon-3.8.15-win-x64.zip(约 70.13 MB) |
解压到任意位置,双击 diagramon.exe 即用;卸载 = 删文件夹 |
便携版说明:包里是 diagramon.exe + WebView2Loader.dll + ui\ + assets\,必须放在一起
(ui\ 与 assets\ 是从磁盘读的,不在 exe 里)。它不依赖额外要装的东西:不需要 Node.js、
不需要 Chrome、不需要 VC++ 运行库(exe 已静态链接 CRT),只需要 Windows 10/11 自带的 WebView2 运行时。
便携版的「检查更新」照常能发现新版,但更新走的是安装包(不会就地替换便携目录)——
要继续用便携形态,就手动下载新的 ZIP 覆盖。
本次亮点
- 带括号标签的圆角节点不再让整张图乱掉:Mermaid 允许
A("标签<br>(172.16.0.1)")这种把 IP 等
括号内容写进圆角节点的写法。以前转成 drawio 时,导入器会被括号搞乱——标签被撕碎、残留串到
下一个节点、几何整个乱掉。现在转 drawio 前会把这些圆角按双圆角/胶囊处理,得到的图干净完整。 - 实测这份部署图:改写前约一半节点乱掉,改写后坏标签清零、子节点坐标全部落在父框内。
修复
- Mermaid → drawio 时,圆角标签里带
(/)的节点导致整片图形乱掉:drawio 内置导入器
解析不了A("标签(IP)")这种形状,括号匹配错位。现在转换前仅当圆角标签内确有括号时,
改写成A(["..."])双圆角(视觉最接近的可用等价),无括号的圆角保持不变,并在转换记录里
加一条保真度说明。新增对应的回归测试(含真实语料,覆盖无括号圆角、矩形、子程序等形状不受影响)。
说明
- 顶层
subgraph集群框的包围盒在转 drawio 后仍可能互相重叠——这是 drawio 导入器对 subgraph
分组的固有局限,不是本次缺陷的回归,可后续用「ELK 重排」缓解。
关于 Diagramon
Diagramon 是一款本地优先的多格式图表编辑器:Mermaid / Graphviz DOT / drawio / Excalidraw
都可编辑并实时预览,AI 可辅助生成、评审与识图。渲染与校验不联网也能用 ——
只有你主动使用 AI 时,相关代码或图片才会发往你选择的上游。
系统要求
- Windows 10 / 11 64 位
- WebView2 运行时(Windows 10/11 通常已预装;缺失时安装器会现场下载)
- 不需要 Node.js、Chrome 或 VC++ 运行库 —— 画布运行时与前端资源都随包分发
安装与更新
下载 Diagramon_3.8.15_x64-setup.exe 直接安装。已装旧版的用户可在
帮助 → 检查更新 里收到本版本(更新包即本安装包,签名见 latest.json)。
本安装包尚未做 Authenticode 代码签名,Windows SmartScreen 可能给出提示。
English
Diagramon 3.8.15 fixes a conversion defect seen in a real case: diagrams that use the
A("label<br>(IP)") rounded-node idiom came out garbled when converted to drawio — they now convert cleanly.
Downloads
| Type | File | Notes |
|---|---|---|
| Installer (recommended) | Diagramon_3.8.15_x64-setup.exe (~62.07 MiB) |
Enables the built-in auto-update; if WebView2 is missing the installer downloads the runtime |
| Portable (no install) | Diagramon-3.8.15-win-x64.zip (~70.13 MB) |
Unzip anywhere and run diagramon.exe; uninstall = delete the folder |
About the portable build: it ships diagramon.exe + WebView2Loader.dll + ui\ + assets\, and those
must stay together (the ui\ and assets\ trees are read from disk, not embedded in the exe).
It needs nothing extra installed: no Node.js, no Chrome, no VC++ redistributable (the CRT is
statically linked) — only the system WebView2 runtime that comes with Windows 10/11.
"Check for updates" still finds new versions, but updating downloads the installer
(it does not replace the portable folder in place) — to stay portable, grab the new ZIP manually.
Highlights
- Rounded nodes whose labels contain parentheses no longer garble the whole diagram: Mermaid lets you
writeA("label<br>(172.16.0.1)")— parenthesis inside a rounded node. Converting that to drawio used to
trip the importer (labels shredded, fragments leaking into the next node, geometry in chaos). Those rounded
nodes are now treated as stadium shapes before conversion, so the output is clean and complete. - Measured on this deployment diagram: about half the nodes were garbled before; after the change, zero
broken labels and every child vertex lands inside its parent box.
Fixes
- Mermaid → drawio: nodes using a rounded shape
A("label (IP)")with parentheses in the label garbled the
diagram: drawio's built-in importer can't parse such a shape — its paren matching goes off. Conversion now
rewrites only rounded labels that actually contain(/)toA(["..."])(the closest usable double-round
shape); paren-free rounded nodes are left untouched, and a fidelity note is added. A regression test covering
the real corpus was added (confirming paren-free rounded, rectangle and subroutine shapes are unaffected).
Notes
- Top-level
subgraphcluster bounding boxes may still overlap each other after conversion to drawio — an
inherent limitation of drawio's importer's subgraph grouping, not a regression of this fix; it can later be
eased with the existing "ELK re-layout" option.
About Diagramon
Diagramon is a local-first multi-format diagram editor: Mermaid, Graphviz DOT, drawio and Excalidraw
can all be edited with live preview, with AI assistance for generation, review and image recognition.
Rendering and validation work with no network at all — code or images reach a model only when you
actively use AI, and then only the endpoint you chose.
Official website: https://www.diagramon.com
Requirements
- Windows 10 / 11 64-bit
- WebView2 runtime (normally pre-installed on Windows 10/11; the installer downloads it if missing)
- No Node.js, Chrome or VC++ redistributable needed — the canvas runtimes and front-end assets all
ship inside the installer
Install and update
Download Diagramon_3.8.15_x64-setup.exe and run it. Users on an older version
will be offered this release via Help → Check for updates (the update package is this same
installer; its signature is in latest.json).
This installer is not yet Authenticode-signed, so Windows SmartScreen may show a warning.