简介 / IntroductionThe alt / else / opt fragments in sequence diagrams express conditional branching and optional interactions. Both PlantUML and Mermaid support these fragments, but w...
简介 / Introduction时序图中的 alt / else / opt 片段用于表达条件分支、循环等复杂交互逻辑。PlantUML 和 Mermaid 都支持这类片段,但语法细节不同。本文用同一场景对比两者的写法。
PlantUML 版1234567891011@startumlAlice -> Bob: 操作请求alt 授权成功 Bob -...
简介 / IntroductionClass diagrams and ER diagrams both describe structured data, but with different focuses: class diagrams target object-oriented design with classes, attributes, and methods; E...
简介 / Introduction类图(UML Class Diagram)和 ER 图(Entity-Relationship Diagram)都是描述结构化数据的利器,但侧重点不同:类图面向面向对象设计,强调类、属性和方法;ER 图面向数据库设计,强调实体、属性和关系。本文用同一业务场景分别展示两种图的 PlantUML 和 Mermaid 写法,并做横向对比。
PlantUM...
简介 / IntroductionSequence Diagram and Activity Diagram are both essential interaction-modeling tools, but they focus on different things. Sequence diagrams emphasize who said what to whom and ...
简介 / Introduction时序图(Sequence Diagram)和活动图(Activity Diagram)都是交互建模的重要工具,但侧重点不同。时序图强调谁在何时对谁说了什么;活动图强调流程的分支、循环与并行。选对图类型,能让图表一目了然;选错则徒增困惑。
PlantUML 版时序图示例1234567891011121314@startumltitle 用户登录时序a...
简介 / IntroductionGantt charts and timelines are two common visualizations in project management. Both PlantUML and Mermaid support these diagram types, but their syntax and output differ. This...
简介 / Introduction甘特图(Gantt chart)和时间线(Timeline)是项目管理中常用的两种可视化方式。PlantUML 和 Mermaid 都支持这两种图表,但语法和呈现效果各有特点。本文用同一份示例对比两者的实现方式。
PlantUML 版PlantUML 的甘特图使用 @startgantt 语法,时间线则用 concise 样式或 timeline ...
简介 / IntroductionMind maps and flowcharts are both popular visual tools, but they serve different purposes: mind maps are best for brainstorming and organizing ideas in a hierarchical, radial ...
简介 / Introduction思维导图(Mind Map)和流程图(Flowchart)都是常用的可视化工具,但它们的侧重点不同:思维导图用于发散和整理想法,适合 brainstorming;流程图用于表达步骤和决策逻辑,适合过程梳理。本文用 PlantUML 和 Mermaid 分别演示这两种图,帮助你根据场景选择合适的类型。
PlantUML 版PlantUML 原生支持思...