Repository navigation
Diagramon 3.9.2
本页中英双语:中文在前,英文在后。 / Bilingual release notes: Chinese first, English below.
中文
Diagramon 3.9.2 让「转换」多一道保险:转出来有损或直接报错时,可以交给你自己配置的模型修,并用数量对账判定修没修对。
下载
| 方式 | 文件 | 说明 |
|---|---|---|
| 安装版(推荐) | Diagramon_3.9.2_x64-setup.exe(约 62.10 MiB) |
装完可用内置自动更新;缺 WebView2 时安装器会自动下载运行时 |
| 便携版(免安装) | Diagramon-3.9.2-win-x64.zip(约 70.17 MB) |
解压到任意位置,双击 diagramon.exe 即用;卸载 = 删文件夹 |
便携版说明:包里是 diagramon.exe + WebView2Loader.dll + ui\ + assets\,必须放在一起
(ui\ 与 assets\ 是从磁盘读的,不在 exe 里)。它不依赖额外要装的东西:不需要 Node.js、
不需要 Chrome、不需要 VC++ 运行库(exe 已静态链接 CRT),只需要 Windows 10/11 自带的 WebView2 运行时。
便携版的「检查更新」照常能发现新版,但更新走的是安装包(不会就地替换便携目录)——
要继续用便携形态,就手动下载新的 ZIP 覆盖。
本次亮点
- AI 增强转换(可选,默认关):转换结果有损或有错时,入口才会出现(还要已配置模型、目标是文本格式)。
一次初改 + 最多 3 轮校正,逐轮提示「第 N 次修正 / 剩余 M 次」;连续两轮同样错误会提前止损,不白烧额度。
成功就另开标签页,失败保留本地结果并如实说明,不会给你一个空标签。
首次使用会先提示「要外发什么」,可取消;调用计入 AI 用量。 - 转换完成后做一次数量对账:自动数一遍节点与连线,少了就提示「少 N 个节点、M 条连线」。
文本目标缺失算失败(可进入 AI 回灌);drawio / Excalidraw 的缺失属于引擎表达力差异,只提示不阻塞。
哪一侧数不出来就明说「对不了账」,不假装对得上。 - 统一校验层:五种格式一个入口校验 —— Mermaid / DOT 给真实行列,D2 走随包 wasm 真编译,
drawio / Excalidraw 做结构校验;引擎未就绪或文件过大时明确标「降级」,不把「没校验」当成「通过」。 - 设置里新增开关:
转换有损时允许用 AI 增强(默认关),附入口条件与额度说明。
修复
- Mermaid 转 DOT / D2 不再被常见写法整份卡死:加长连接件(
===>/--->/-..->)、
A --> B & C多目标、subgraph id ["标题"]与「连到 subgraph」的边现在都能转。
这类文件以前会在报错行整份失败(真实语料里四个构造同时出现)。 - 跨平面/跨容器的边不再多出空节点:subgraph 到 subgraph 的连线改成落在簇边界上。
- 转换窗口里的报错可以复制:报错文字可选中,旁边还加了「复制」按钮;保真度说明与底栏文字同理。
关于 Diagramon
Diagramon 是一款本地优先的多格式图表编辑器:Mermaid / Graphviz DOT / drawio / Excalidraw
都可编辑并实时预览,AI 可辅助生成、评审与识图。渲染与校验不联网也能用 ——
只有你主动使用 AI 时,相关代码或图片才会发往你选择的上游。
系统要求
- Windows 10 / 11 64 位
- WebView2 运行时(Windows 10/11 通常已预装;缺失时安装器会现场下载)
- 不需要 Node.js、Chrome 或 VC++ 运行库 —— 画布运行时与前端资源都随包分发
安装与更新
下载 Diagramon_3.9.2_x64-setup.exe 直接安装。已装旧版的用户可在
帮助 → 检查更新 里收到本版本(更新包即本安装包,签名见 latest.json)。
本安装包尚未做 Authenticode 代码签名,Windows SmartScreen 可能给出提示。
English
Diagramon 3.9.2 adds a safety net to conversion: when the result is lossy or outright fails, your own configured model can repair it — and a count check decides whether the repair actually worked.
Downloads
| Type | File | Notes |
|---|---|---|
| Installer (recommended) | Diagramon_3.9.2_x64-setup.exe (~62.10 MiB) |
Enables the built-in auto-update; if WebView2 is missing the installer downloads the runtime |
| Portable (no install) | Diagramon-3.9.2-win-x64.zip (~70.17 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 works in the portable build, but updates are delivered as the installer
(it never patches the portable folder in place) — download the new ZIP to keep using it.
Highlights
- AI-assisted conversion (optional, off by default). The entry appears only when it applies: the
conversion is lossy or failed, a model is configured, and the target is a text format. One initial
rewrite plus at most 3 correction rounds, with "attempt N / M left" progress; two identical failures
in a row stop early so you do not burn quota. Success opens a new tab; failure keeps the local result
and says so — never an empty tab. The first run shows exactly what will be sent (cancellable), and
calls count toward your AI usage. - A count check after every conversion. Nodes and connections are counted and compared; if the
result is short you get "N nodes / M connections missing". A shortfall on text targets counts as a
failure (and can be fed back to the model); on drawio / Excalidraw it is an engine expressiveness gap,
so it is only reported. When one side cannot be counted, it says so instead of pretending to match. - One validation layer for all five formats: Mermaid / DOT report real line and column, D2 actually
compiles with the bundled wasm, drawio / Excalidraw get structural checks. When an engine is not ready
or a file is very large, the result is explicitly marked degraded — "not validated" is never reported
as "passed". - New setting: "Allow AI enhancement when conversion is lossy (off by default)", with the entry
conditions and quota note.
Fixes
- Mermaid → DOT / D2 no longer dies on common syntax: longer connectors (
===>,--->,-..->),
A --> B & Cmulti-target edges,subgraph id ["title"], and edges that connect subgraphs all
convert now. Such files used to fail as a whole at the offending line. - No more phantom nodes for container-to-container edges: subgraph → subgraph links are clipped to
the cluster border. - Errors in the conversion dialog can be copied: the text is selectable and there is a Copy button;
the same applies to fidelity notes and the footer text.
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.9.2_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.