简介 / IntroductionIn sequence diagrams, a participant’s lifeline becomes active at different stages and can be destroyed when its role ends. Both PlantUML and Mermaid provide clean syntax to ex...
简介 / Introduction时序图(Sequence Diagram)中,参与者(Actor)的生命线(lifeline)在不同阶段会被激活(activate)或销毁(destroy)。PlantUML 和 Mermaid 都提供了简洁的关键字来表达这些语义,本文通过同一场景的两个引擎实现来演示其用法。
PlantUML 版123456789101112131415@star...
简介 / IntroductionWhen a sequence diagram has many messages it gets messy. Dividers / Groups / Boxes let you visually containerize related messages. PlantUML uses group and so does Me...
简介 / Introduction时序图消息一多就容易乱。分组(Divider / Group / Box) 让你能把相关消息框在一个视觉容器里,PlantUML 用 group,Mermaid 用 group,两者语法相近但细节不同。
PlantUML 版123456789101112131415161718192021@startumlskinparam b...
简介 / IntroductionSequence diagrams model message exchanges between objects, and notes are the primary way to add commentary to those interactions. Both PlantUML and Mermaid support notes in se...
简介 / Introduction时序图(Sequence Diagram)用于描述对象之间的消息交互,Note(备注)是其重要辅助元素,用来在参与者之间添加注释说明。PlantUML 和 Mermaid 都支持在时序图中使用 Note,且语法各有特色。本文通过同一场景演示两种引擎的 Note 用法,并做对比。
PlantUML 版12345678910111213@startum...
简介 / IntroductionSequence diagrams visualize time-ordered interactions between objects. Synchronous (sync) messages block until a response arrives, while asynchronous (async) messages fire and...
简介 / Introduction时序图(Sequence Diagram)用于展示对象之间按时间顺序交互的消息流。同步消息(sync)等待对方返回,而异步消息(async)发送后不阻塞,常用于 HTTP 请求、事件驱动架构和微服务调用场景。本文用同一业务场景,对比 PlantUML 与 Mermaid 两种引擎的语法差异。
PlantUML 版123456789101112131...
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 图(甘特图)用横轴=时间、纵轴=任务的方式,展示:
每个任务什么时候开始、什么时候结束
任务之间的前后依赖关系
关键里程碑在哪一天
哪些任...