Skip to content

Diagramon 3.12.3

Choose a tag to compare

@westsource westsource released this 31 Oct 10:05
· 15 commits to main since this release

Release 说明:v3.12.3

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


中文

Diagramon 3.12.3 把配色从"看不见的视图状态"变成"看得见的源码内容"。

下载

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

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

本次亮点

  • 选配色 = 改正文:在预览顶栏选一个色系,配色块立刻写进源码(%% dgm-palette:…),
    源码窗口和渲染看到的是同一份东西。落不落盘由「设置 → 编辑器 → 自动保存」决定,
    以前那条"颜色只是预览、要再点一次写入正文"的分叉没有了。
  • 带得走:别的工具(mermaid live、GitHub、编辑器插件)打开这份源码就有颜色,
    不再依赖本应用的记录。
  • 未保存的文档也记得住:配色不再是按文件路径记的外挂状态,新建文档选完就是它自己的内容。
  • 打开文件不会变脏:按图内容推测的配色只作为建议提示,选了你才写进正文。
  • 老文件迁移:以前记过色系但正文里还没有配色块的,首次打开时会把块补进缓冲区(不自动落盘,可撤销)。
  • AI 应用结果、格式转换之后会自动按同一色系补回配色块,不会出现"应用完颜色没了"。

修复

  • 「行底色」按钮看不出开关状态:按钮一直在切设置,但缺少按下态样式,点完只有 title 变了。
    现在关闭时是普通描边,打开时是强调色底 + 描边,并带 aria-pressed。
  • 配色菜单少了一条分隔线:「无」和「按当前主题重排配色 / 让 AI 挑」挤在一起,
    看不出是"选择"与"动作"两类。

注意事项

  • 切主题不会自动改色:配色块是选色系那一刻按当时明暗主题算出来的快照(块头会写「亮色」或「暗色」)。
    换主题后想重算,用配色菜单里新增的「按当前主题重排配色」。
  • 「设置 → 默认配色」现在只作用于新建文档;已有文件各自在预览顶栏选,选完即写进它的正文。
  • 升级后,之前只"跟随默认"而没有真正选过的文件会显示为无色,选一次即可(之后颜色会固定在文件里)。

关于 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.3_x64-setup.exe 直接安装。已装旧版的用户可在
帮助 → 检查更新 里收到本版本(更新包即本安装包,签名见 latest.json)。

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


English

Diagramon 3.12.3 turns palette colors from an invisible view state into visible source text.

Downloads

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

  • Picking a palette edits the source: choosing a scheme in the preview toolbar writes the palette
    block into the source immediately, so the editor and the render show the same thing.
    Saving follows your auto-save setting — the old "colors are preview-only, bake them later" split is gone.
  • Portable colors: mermaid live, GitHub rendering and editor plugins show the colors directly.
  • Unsaved documents remember too: the choice is no longer sidecar state keyed by file path.
  • Opening a file never dirties it: the palette guessed from the diagram is only a suggestion.
  • Migration: documents that had a remembered scheme but no block get one written into the buffer on first open
    (unsaved, undoable).
  • After AI apply or a format conversion the palette block is restored automatically, so colors never vanish.

Fixes

  • The row-tint button gave no state feedback: it toggled the setting but had no pressed style.
    It now shows an accent background when on, with aria-pressed for accessibility.
  • Missing separator in the palette menu between the scheme list (including "None") and the actions.

Notes

  • Switching theme does not recolor: the block is a snapshot for the theme active when you picked it
    (its header says light or dark). Use the new "Regenerate for current theme" action after switching.
  • "Default palette" in settings now only applies to new documents; existing files pick their own.
  • Documents that only ever "followed the default" will show no colors after upgrading — pick a scheme once
    and it becomes part of the file.

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