Skip to content

Diagramon 3.12.0

Choose a tag to compare

@westsource westsource released this 30 Oct 15:17
· 57 commits to main since this release

Release 说明:v3.12.0

本页中英双语:中文在前,英文在后。 / Bilingual release notes: Chinese first, English below.


中文

Diagramon 3.12.0 给图表加了一套"自动配色":AI 不再随手写色值,而是只标角色;颜色由本地按色系展开,可复现、可一键换、也可以只留在预览里。

下载

方式 文件 说明
安装版(推荐) Diagramon_3.12.0_x64-setup.exe(约 62.23 MiB) 装完可用内置自动更新;缺 WebView2 时安装器会自动下载运行时
便携版(免安装) Diagramon-3.12.0-win-x64.zip(约 70.33 MB) 解压到任意位置,双击 diagramon.exe 即用;卸载 = 删文件夹

便携版说明:包里是 diagramon.exe + WebView2Loader.dll + ui\ + assets\,必须放在一起
(ui\ 与 assets\ 是从磁盘读的,不在 exe 里)。它不依赖额外要装的东西:不需要 Node.js、
不需要 Chrome、不需要 VC++ 运行库(exe 已静态链接 CRT),只需要 Windows 10/11 自带的 WebView2 运行时。
便携版的「检查更新」照常能发现新版,但更新走的是安装包(不会就地替换便携目录)——
要继续用便携形态,就手动下载新的 ZIP 覆盖。

本次亮点

  • AI 只标角色,色值本地落地:模型写"主链路 / 入口 / 判断 / 数据 / 外部 / 异常 / 说明",应用按色系把角色展开成色值 ——
    同一句话两次生成不会出现两套颜色,暗色主题也自动用更亮的一档。跨格式一致:Mermaid / DOT / D2 都能落地。
  • 六种色系 + 线框档:松绿 / 黛蓝 / 藕紫 / 橄榄 / 赭石 / 钨灰(无彩,线框与打印)。预览顶栏第三颗按钮切换,
    按文件记住;连线一起跟随色系(设置里可关)。
  • 打开即挑选:打开没有记过色系的文件时,按图里的角色占比与标签本地选一个(数据/存储多→黛蓝、异常多→赭石、
    外部接口多→橄榄、界面词→藕紫,否则松绿),状态栏写明依据。新建文档默认「无」。
  • 颜色只留在预览里:换色系、换主题都不改正文;想固化给别人看,菜单里有「写入正文」。
    清除(「无」)也只改缓冲区 —— 磁盘要你自己保存。
  • 「无」会尽量清干净:先删程序生成的那一段;如果正文里还有手写/外来颜色,且配置了模型,
    就让模型只删颜色(结构一改就放弃这次清理)。
  • 更安静的资料:连线默认跟随色系但压低饱和度;色系之间按可辨识度重新排过(同一色系内七个角色
    填充最小色差从 1.2 提到 3.6–5.9,换色系的差异从 2 提到 17)。

修复

  • Mermaid 里带连字符的类名(A[开始]:::my-class --> B)不再让整份文件解析失败。
  • 节点在边上被再次提及时,形状不再被覆盖成方框(判断/圆柱节点之前会被当成主链路)。
  • 自动配色失败不再挡住渲染:出图照常,原因写在状态栏。
  • 便携版的 README 截图在缺少 ELK 离线包时会显示"加载失败",已修(截图脚本补上挂载点)。

关于 Diagramon

Diagramon 是一款本地优先的多格式图表编辑器:Mermaid / Graphviz DOT / drawio / Excalidraw
都可编辑并实时预览,AI 可辅助生成、评审与识图。渲染与校验不联网也能用 ——
只有你主动使用 AI 时,相关代码或图片才会发往你选择的上游。

官网:https://www.diagramon.com

系统要求

  • Windows 10 / 11 64 位
  • WebView2 运行时(Windows 10/11 通常已预装;缺失时安装器会现场下载)
  • 不需要 Node.js、Chrome 或 VC++ 运行库 —— 画布运行时与前端资源都随包分发

安装与更新

下载 Diagramon_3.12.0_x64-setup.exe 直接安装。已装旧版的用户可在
帮助 → 检查更新 里收到本版本(更新包即本安装包,签名见 latest.json)。

本安装包尚未做 Authenticode 代码签名,Windows SmartScreen 可能给出提示。


English

Diagramon 3.12.0 adds automatic colouring: the AI no longer invents hex values, it only tags roles; the app expands them into a palette — reproducible, swappable in one click, and optionally preview-only.

Downloads

Type File Notes
Installer (recommended) Diagramon_3.12.0_x64-setup.exe (~62.23 MiB) Enables the built-in auto-update; if WebView2 is missing the installer downloads the runtime
Portable (no install) Diagramon-3.12.0-win-x64.zip (~70.33 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

  • The AI tags roles, the app picks the colours — the model writes main / entry / decision / data /
    external / failure / note, and the palette expands those into values: the same sentence never yields two
    different palettes, and dark themes get the brighter ladder automatically. The same tags work in Mermaid,
    DOT and D2.
  • Six schemes plus a wireframe one — Pine / Indigo / Lotus / Olive / Ochre / Tungsten (achromatic, for
    wireframes and print). Switch from the third control in the preview toolbar; the choice is remembered per
    file
    , and edges follow the scheme too (switchable in Settings).
  • Picked on open — a file with no remembered scheme gets one chosen locally from its role mix and labels
    (data-heavy → Indigo, failures → Ochre, many external calls → Olive, UI wording → Lotus, otherwise Pine),
    with the reason shown in the status bar. New documents start with None.
  • Colours live in the preview — switching scheme or theme never rewrites the source; 「Bake into source」
    is there when you want the colours in the file. Clearing (「None」) only touches the buffer, too — saving
    stays your call.
  • 「None」 tries to leave nothing behind — our own block goes first; if hand-written or foreign colours
    remain and a model is configured, the model strips colours only (and the cleanup is discarded if it
    changes the structure).
  • Quieter diagrams — edges follow the scheme at reduced saturation, and the schemes were re-spaced by
    measured distance (role fills went from ΔE 1.2 to 3.6–5.9, scheme-to-scheme from 2 to 17).

Fixes

  • Mermaid class names containing hyphens (A[开始]:::my-class --> B) no longer break the whole file.
  • A node mentioned again on an edge keeps its shape (decision/cylinder nodes were being treated as main path).
  • A failed palette expansion no longer blocks rendering: the diagram still draws and the reason lands in the
    status bar.
  • The README screenshots no longer show an ELK "failed to load" message (the capture script now serves the
    bundled ELK chunk).

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.12.0_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.