简介 / IntroductionER diagrams (Entity-Relationship diagrams) describe entities, attributes, and their connections in a data model. Cardinality expresses the numerical constraint between two ent...
简介 / IntroductionER 图(实体关系图)用于描述数据模型中的实体、属性及其关系。基数(Cardinality)表示两个实体之间对应数量的约束,标识关系(Identifying Relationship)则区分强实体和弱实体。本文演示 PlantUML 和 Mermaid 两种语法的写法,并做简要对比。
PlantUML 版PlantUML 通过 ||--o{...
简介 / IntroductionFlowcharts are not just static diagrams — they can embed hyperlinks and click events, letting readers click a node to jump to a page or trigger a tooltip. This post shows how ...
简介 / Introduction流程图不仅能展示静态的执行路径,还能嵌入超链接和点击事件,让读者在浏览器中直接点击节点跳转页面或触发提示框。本篇演示两种引擎分别如何实现这一效果。
PlantUML 版PlantUML 通过 -> 前缀语法将节点声明为 HTML 超链接,并用 tooltip 属性附加提示文字:
12345678910@startsalt{+ &l...
简介 / IntroductionEdges in a flowchart are the lines connecting nodes — they can be undirected, directed with arrows, dashed for optional paths, or bold for emphasis. Both PlantUML and Mermaid ...
简介 / Introduction流程图的「边」即节点之间的连接线,既可以是无方向的实线,也可以是有方向的箭头;边的样式也可以用虚线或加粗来表达不同语义。PlantUML 与 Mermaid 都支持这些写法,但语法细节不同。本文用同一个简单流程演示两种引擎的等效写法。
PlantUML 版12345678910111213141516171819@startumlskinparam...
简介 / IntroductionFlowcharts are one of the most commonly used diagram types. Both PlantUML and Mermaid let you specify the layout direction with a simple directive: left to right direction (or...
简介 / Introduction流程图(Flowchart)是最常用的图类型之一。PlantUML 和 Mermaid 都支持用关键字指定图的方向:left to right direction(或 LR)和 top to bottom direction(或 TB)是最常见的两种布局方向。本文用同一个示例展示两种引擎的方向语法,并做简要对比。
PlantUML 版PlantUM...
简介 / IntroductionFlowcharts describe business or system processes. When a diagram grows large, grouping related steps into subgraph blocks makes it easier to read and maintain. This post shows...
简介 / Introduction流程图(Flowchart)常用于表达业务流程。当步骤较多时,用 Subgraph 将相关节点归为一组,能让图表层次更清晰、阅读体验更好。本文演示 PlantUML 和 Mermaid 两种引擎的 subgraph 写法,并做简要对比。
PlantUML 版12345678910111213141516171819@startumlskinpara...