Archify Workflow: Generate and Revise Rule-Based Diagrams
A Juejin tutorial by Archify maintainer shows how an AI coding agent can turn a natural-language description into a typed JSON representation, render and browser-check a workflow, then revise its rules and export a standalone interactive HTML file. It also compares Archify with draw.io, ProcessOn, Excalidraw, and Mermaid for editable files, online collaboration, shared whiteboards, and lightweight Markdown diagrams. The core Archify capabilities are maintainer claims based on testing described as November 2026, not independently verified in the report.
The workflow provides a concrete option for teams that want coding agents to generate, update, validate, and deliver interactive diagrams without requiring recipients to install an editor.
维护者披露:本文作者为开源项目 Archify(
tt-a1i/archify,Apache-2.0)维护者;文中对各工具的边界说明基于 2026 年 11 月实测能力。
先说问题:画出一张图不难,难的是「改规则」和「发给同事看」
现在用 AI 起一张流程图已经很常见了:
- draw.io(diagrams.net) 已经支持官方 AI 生成与 MCP 接入,适合你需要生成
.drawio文件后继续在图形编辑器里拖框精调的场景; - ProcessOn 支持一句话 AI 生成流程图,适合团队围绕中文模板做在线协作;
- Excalidraw 可以通过 MCP 让 Agent 直接读写共享手绘白板,适合多人同屏头脑风暴;
- Mermaid 最轻省,图只有十几步且必须直接嵌进 GitHub / 博客 Markdown 代码块时最顺手。
但实际工作里,还有一种高频痛点是这几类工具不太顺手的:你并不是想拉同事一起进画布编辑,而是想把一段带条件和规则的流程交给 Claude Code、Cursor 或 Codex,改完一条规则后,直接把一个「双击就能离线打开、点节点就能看前后依赖、不用登录也不用装软件」的成品发到群里。
#Archify#Claude Code#Cursor#Codex#OpenCode#draw.io#ProcessOn#Excalidraw#Mermaid