A summary of five ways PlantUML gets used inside real engineering teams, plus the gotchas that bite along the way.
1. Use case diagrams for requirement reviewsHalf an hour of whiteboarding in a m...
这篇文章总结把 PlantUML 真正用到团队里时,最常见的 5 个用法和踩坑点。
1. 用例图做需求评审需求会上画 30 分钟白板,不如让大家回去花 30 分钟改一段 PlantUML —— 它能进 PR、可 diff、可评审。
1234567891011121314151617181920@startumlleft to right directionskinparam actorS...
Diagrams in docs sites — the best approach depends on the framework. Here are the actual configs for 4 popular tools.
Why does this need a dedicated post?PlantUML source and rendered output are s...
文档站里放图,最好的方案因框架而异——这里有 4 套主流工具的实际配置。
为什么需要专门讨论这件事?PlantUML 源码 + 渲染结果是分开的。这意味着文档站有三种嵌入方式:
预渲染:构建时生成 SVG 静态文件 → <img> 引入(最快、最稳)
客户端渲染:运行时调 plantuml.com / 自有 server(灵活、慢一点)
边渲染边预生成:混用——平...
Use PlantUML + a few lines of script, so your diagrams always follow reality.
Why data-driven?The most common embarrassment with business diagrams:
A column gets added to the DB; the ER diagram ...
用 PlantUML + 几行脚本,让图自动跟着真实数据走。
为什么要数据驱动?业务图最常见的尴尬:
数据库加了字段,ER 图忘了同步,下游同学开始凭记忆写 join
服务依赖变了,部署图却是三个月前的那张
团队同学关系调整了,架构图还显示离职的人
每周手动重画一遍——但凡少画一次就有人引用错误链接
思路:图的“事实”存在于代码 / 数据库 / API 文档 ...
Same as the intro post — AI-assisted sample. The templates themselves are ready to run; feel free to rewrite the prose.
1. Sequence diagram1234567891011121314151617@startumltitle User login flowa...
同上,AI 辅助起草的样例文章。模板本身是开箱即用的;正文你可以根据需要重写。
1. 时序图(Sequence)1234567891011121314151617@startumltitle 用户登录流程actor 用户participant "前端" as FEparticipant "API 网关" as GWparticipant "...
This is the inaugural post on puml.online, drafted with AI assistance. It serves as a content sample — feel free to borrow its structure, tone, and pacing when you write your own pieces.
...
这篇文章是 puml.online 站点的开篇文章,由 AI 辅助起草,仅作为内容示例。你可以参考它的结构、风格和节奏,写出真正属于你的内容。
不用装环境,打开就能画。
puml.online 的编辑器完全跑在浏览器里——不用注册,不用 Java,不用配置。
立即打开编辑器 →
什么是 PlantUMLPlantUML 是一种用纯文本描述来画图的工具...