Repository navigation
Diagramon 3.13.2
Release 说明:v3.13.2
本页中英双语:中文在前,英文在后。 / Bilingual release notes: Chinese first, English after.
中文
Diagramon 3.13.2 是一个修复版本:只改预览的渲染调度,解决"源码是对的却不渲染"。
下载
| 方式 | 文件 | 说明 |
|---|---|---|
| 安装版(推荐) | Diagramon_3.13.2_x64-setup.exe(约 62.29 MiB) |
装完可用内置自动更新;缺 WebView2 时安装器会自动下载运行时 |
| 便携版(免安装) | Diagramon-3.13.2-win-x64.zip(约 70.41 MB) |
解压到任意位置,双击 diagramon.exe 即用;卸载 = 删文件夹 |
便携版说明:包里是 diagramon.exe + WebView2Loader.dll + ui\ + assets\,必须放在一起
(ui\ 与 assets\ 是从磁盘读的,不在 exe 里)。它不依赖额外要装的东西:不需要 Node.js、
不需要 Chrome、不需要 VC++ 运行库(exe 已静态链接 CRT),只需要 Windows 10/11 自带的 WebView2 运行时。
便携版的「检查更新」照常能发现新版,但更新走的是安装包(不会就地替换便携目录)——
要继续用便携形态,就手动下载新的 ZIP 覆盖。
修复
- 改完源码有时不渲染,切一下视图模式才出来。预览的渲染原先靠 60ms 防抖直接触发引擎,
而一次 ELK 布局常常上百毫秒 —— 连续敲字就会叠出多个并发的引擎渲染。mermaid / graphviz / D2
都不是并发安全的(mermaid.render()用全局配置与共享的 DOM 暂存节点),叠在一起那一次可能
什么都不出;而且被后来的渲染顶掉的那次改动不会再重来,于是停在空白,直到切一次视图模式
(那会再排一次渲染)。现在:① 渲染入口串行化,同一时刻只有一轮在跑;② 跑的过程中又收到改动,
就跑完再补一次(照最新正文画,不会挂旧图)。await DGM.preview.render()的语义也保留了 ——
忙时等的是"正在跑的那一轮",仍然保证回来时已画到最新。
关于 Diagramon
Diagramon 是一款本地优先的多格式图表编辑器:Mermaid / Graphviz DOT / drawio / Excalidraw
都可编辑并实时预览,AI 可辅助生成、评审与识图。渲染与校验不联网也能用 ——
只有你主动使用 AI 时,相关代码或图片才会发往你选择的上游。
系统要求
- Windows 10 / 11 64 位
- WebView2 运行时(Windows 10/11 通常已预装;缺失时安装器会现场下载)
- 不需要 Node.js、Chrome 或 VC++ 运行库 —— 画布运行时与前端资源都随包分发
安装与更新
下载 Diagramon_3.13.2_x64-setup.exe 直接安装。已装旧版的用户可在
帮助 → 检查更新 里收到本版本(更新包即本安装包,签名见 latest.json)。
本安装包尚未做 Authenticode 代码签名,Windows SmartScreen 可能给出提示。
English
Diagramon 3.13.2 is a bug-fix release: it only changes how the preview schedules rendering,
fixing the case where valid source would not draw.
Downloads
| Type | File | Notes |
|---|---|---|
| Installer (recommended) | Diagramon_3.13.2_x64-setup.exe (~62.29 MiB) |
Enables the built-in auto-update; if WebView2 is missing the installer downloads the runtime |
| Portable (no install) | Diagramon-3.13.2-win-x64.zip (~70.41 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.
Fixes
- After editing the source, the diagram sometimes would not render until you switched the view mode.
The preview used to fire the engine straight from a 60 ms debounce, while a single ELK layout often
takes hundreds of milliseconds — so continuous typing stacked several concurrent engine renders.
mermaid / graphviz / D2 are not concurrency-safe (mermaid.render()uses global config and a shared
DOM scratch node), a stacked render can produce nothing at all, and the edit that got superseded
was never retried — leaving a blank stage until a view-mode switch scheduled one more render.
Now: (1) the render entry is serialized, only one round runs at a time; (2) if an edit arrives while
rendering, one more round is queued after it and draws the latest source (never a stale diagram).
await DGM.preview.render()keeps its meaning too — when busy it awaits the in-flight round, so it
still resolves once the preview is up to date.
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.13.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.