简介 / IntroductionThe C4 model provides a layered approach to describing software architecture — Context, Container, Component, and Code — with Container diagrams focusing on the key applicatio...
简介 / IntroductionC4 模型是一种用层次化视图描述软件架构的方法,从 Context → Container → Component → Code 逐层深入。Container 图聚焦于系统边界内部的关键应用进程和数据存储,是架构设计文档的核心交付物。本文用 PlantUML(stdlib)和 Mermaid(C4 扩展)两种引擎分别绘制同一张 Container ...
简介 / IntroductionThe C4 model is a layered approach to visualising software architecture — Context → Container → Component → Code. The Context diagram is the highest level, showing system boun...
简介 / IntroductionC4 模型是一种用分层图表表达软件架构的方法,从 Context(上下文)→ Container(容器)→ Component(组件)→ Code(代码) 四个层次描述系统。Context 图是最宏观的一层,展示系统边界、系统间的交互以及外部参与者之间的关联。本文用同一个示例对比 PlantUML 和 Mermaid 绘制 C4 Context 图...
简介 / IntroductionA Requirement Diagram visualizes the traceability between system requirements and design elements. It maps business requirements to interfaces, classes, and modules, helping t...
简介 / Introduction需求图(Requirement Diagram)用于描述系统需求与设计元素之间的追溯关系。它将业务需求映射到具体的接口、类和模块,帮助团队验证每条需求是否被正确实现。本文对比 PlantUML 与 Mermaid 两种引擎绘制需求图的语法与特性。
PlantUML 版PlantUML 通过 requirement、interface、require...
简介 / IntroductionQuadrant charts divide the plotting area into four regions by two dimensions, commonly used for urgency vs importance, or effort vs impact analysis. This article covers how to...
简介 / Introduction象限图是一种将数据点按两个维度划分为四个区域的图表,常用于”紧急 vs 重要”、 “影响力 vs 难度”等二元分类场景。本篇介绍如何使用 PlantUML 和 Mermaid 绘制象限图,涵盖坐标轴标签、象限填充和标签定位。
PlantUML 版PlantUML 通过 salt 渲染器绘制象限图,利用网格和 !pragma 实现坐标轴效果:
123...
简介 / IntroductionJourney diagrams visualize the steps different actors complete across phases of a process. Both PlantUML and Mermaid support this diagram type, but their syntax differs signif...
简介 / Introduction用户旅程图(Journey diagram)常用于展示一个流程中不同角色(Actor)依次完成的任务(Task),并按阶段(Section)分组。PlantUML 与 Mermaid 都支持此图类型,但语法细节差异较大。本文通过同一示例对比两种引擎的写法。
PlantUML 版123456789101112131415161718192021222...