Mermaid’s Gantt chart is a project management powerhouse — describe task timelines, milestones, and dependencies in text, embed directly in docs. PlantUML’s Gantt support is weak; Mermaid is the c...
Mermaid 的 Gantt 图是项目管理神器——用文本描述任务时间线、里程碑和依赖关系,拖进文档里直接渲染。PlantUML 的 Gantt 图功能很弱,Mermaid 是这个领域的首选工具。
Gantt 图是什么Gantt 图(甘特图)用横轴=时间、纵轴=任务的方式,展示:
每个任务什么时候开始、什么时候结束
任务之间的前后依赖关系
关键里程碑在哪一天
哪些任...
Mermaid’s State Diagram lets you describe state machines in plain text — faster than Visio, more precise than Flowchart for describing entity lifecycles. Ideal for: order status, user lifecycle, a...
Mermaid 的 State Diagram(状态图)让你用文本描述状态机——比画 Visio 快,比写代码更直观。适合:订单状态流转、用户生命周期、审批流程、协议状态机。
为什么选 State Diagram 而不是 FlowchartFlowchart(流程图)描述的是过程——做什么、先做什么后做什么。State Diagram 描述的是状态——系统/实体在什么时候处于什...
PlantUML diagrams are code, but unlike regular code they have no lint/compile checks. This post covers: auto-render on every push, PR diagram diff comments, drift detection, and full CI pipel...
团队里 PlantUML 图越来越多,怎么保证每个人的 .puml 文件都正确渲染?PR 里的图怎么自动检查?代码变了图没同步怎么办?这一篇用 GitHub Actions 全解决。
为什么要把 PlantUML 集成到 CIPlantUML 图是代码,但它不像普通代码那样有 lint/编译检查。常见问题:
.puml 文件有语法错误,上线了才发现图渲染不出来
代码改了,但忘...
Deployment diagrams describe the physical structure of your software — which servers, containers, and networks it runs on. PlantUML’s deployment view precisely captures servers, containers, networ...
部署图(Deployment Diagram)是架构评审、团队对齐、故障排查最重要的图之一。用 PlantUML 的 deployment 视图,可以精确描述服务器、容器、网络拓扑和部署策略。
部署图是什么部署图描述软件的物理部署结构——在哪台服务器上运行、用什么容器、有没有负载均衡、数据库在哪。它回答”这个系统是怎么跑起来的”这个问题。
对比:
组件图:描述软件模块之间的关系(逻辑结...
ER (Entity Relationship) diagrams are the most important tool in database design. PlantUML’s ER diagram syntax turns your schema into a clean, version-controllable diagram that lives next to your ...
ER 图(Entity Relationship Diagram,实体关系图)是数据库设计最重要的工具。用 PlantUML 画 ER 图,可以直接从数据库 schema 出图,也可以手画结构后交给团队 review。
ER 图是什么ER 图描述实体(表)、属性(字段)、关系(外键约束)三者之间的关系。数据库设计初期用来理清概念,数据架构评审时用来对齐理解,重构时用来追踪影响。
常见场景...