Mermaid UML Diagrams: Supported Types and Limitations
Learn which UML diagrams Mermaid supports, where it uses approximations, and when to choose sequence, class, state, ER, flowchart, or PlantUML.
Tutorials, guides, and best practices for UML diagramming
Follow this topic in order, or jump to the article you need.
Follow this topic in order, or jump to the article you need.
按顺序阅读这个主题,或直接跳到你需要的文章。
Follow this topic in order, or jump to the article you need.
按顺序阅读这个主题,或直接跳到你需要的文章。
Learn which UML diagrams Mermaid supports, where it uses approximations, and when to choose sequence, class, state, ER, flowchart, or PlantUML.
Explore copyable PlantUML examples for sequence, class, ER, C4, activity, component, and state diagrams, then learn how to style, save, and export them.
探索可复制的 PlantUML 时序图、类图、ER 图、C4 架构图、活动图、组件图和状态图示例,并学习如何设置样式、保存和导出。
Choose Mermaid for everyday documentation and PlantUML for formal UML or complex architecture. Compare capabilities, version limits, and delivery scenarios.
日常文档默认 Mermaid,正式 UML 与复杂架构图默认 PlantUML。通过交付物决策、能力矩阵与专项入口,选择适合团队的图表即代码工具。
Learn Mermaid flowchart syntax with practical examples for authentication, CI/CD, microservices, error handling, SSO, and e-commerce workflows.
Learn Mermaid sequence diagram syntax for participants, messages, notes, activation, control flow, and maintainable API documentation with runnable examples.
了解 PlantUML newpage 为何在 OnUML 中只显示一张图片,并将长时序图拆分为可预览、保存和导出的标签页。
Build authentication and REST API flows with PlantUML participants, messages, activation bars, conditions, loops, and numbering.
使用 PlantUML 参与者、消息、激活条、条件、循环和编号构建身份验证及 REST API 流程。
Learn what WYSIWYG and drag-and-drop mean for PlantUML, what the language supports, and how to choose between text-first, visual, and hybrid editors.
了解所见即所得与拖放对 PlantUML 的具体含义、语言本身支持什么,以及如何选择文本优先、可视化或混合编辑器。
Use Mermaid Crow's Foot notation for application schemas and PlantUML Chen notation for conceptual models. Compare keys, cardinality, scope, and tradeoffs.
基于 2026-07-22 官方语法核验,对比 Mermaid 的 Crow’s Foot 与 PK/FK/UK 属性标记、PlantUML Information Engineering 和 Chen 概念模型,明确应用 ERD 选型。
Use Mermaid for service and resource maps, and PlantUML for component contracts, deployment views, C4 baselines, and formal architecture documentation.
正式软件架构基线优先 PlantUML:对比组件接口、部署拓扑与 Mermaid 11.15/11.16 布局能力,并说明本项目 11.6.0 的版本边界。
Compare Mermaid and PlantUML for composite states, concurrent regions, history states, and entry or exit points in production state-machine documentation.