• Git graphs: cherry-pick and revert

    Git graphs: cherry-pick and revert

    简介 / Introductioncherry-pick and revert are the two Git commands whose history is hardest to remember: the first copies a commit onto another branch, the second undoes an old commit with a new...
  • Git Graph:cherry-pick / revert

    Git Graph:cherry-pick / revert

    简介 / Introductioncherry-pick 和 revert 是日常开发里最容易”记不清历史”的两个 Git 命令:前者把某个提交复制到另一条分支,后者用一个新提交抵消旧提交。要把它们讲清楚,一张分支图往往比十行文字更有效。 PlantUML 的 gitgraph 语法与 Mermaid 的 gitGraph 都能画分支图,但对这两个命令的支持并不相同。本篇用同一个场...
  • 时间线 vs 甘特:决策指南

    时间线 vs 甘特:决策指南

    简介 / Introduction同样是”随时间推进”的可视化,时间线(Timeline) 关心的是”什么时候发生了什么”,甘特图(Gantt) 关心的是”每个任务占多长时间、依赖谁”。两者看起来相似,选错了却会让排期信息表达不清:甘特图适合有工期和依赖关系的项目计划,时间线适合历史沿革、里程碑和阶段划分。本文用同一份发布计划分别给出 PlantUML 与 Mermaid 的实现,...
  • Timeline vs Gantt: a decision guide

    Timeline vs Gantt: a decision guide

    简介 / IntroductionBoth visualize “things moving forward over time”, but they answer different questions. A timeline answers when did something happen; a Gantt chart answers how long does each t...
  • ArchiMate elements and relationships

    ArchiMate elements and relationships

    IntroductionArchiMate is an enterprise architecture modeling language that splits a system into three layers of elements — business, application, and technology — plus a set of relationship types. ...
  • ArchiMate 元素与关系

    ArchiMate 元素与关系

    简介ArchiMate 是一种企业架构建模语言,它把系统拆成三类元素(业务、应用、技术)和若干关系类型。PlantUML 内置了 archimate 关键字,可以直接用 #Business、#Application、#Technology 这些层(layer)来声明元素并自动着色;Mermaid 没有 ArchiMate 语义,只能用 flowchart 加 classDef 去模拟同样的视...
  • Salt wireframes

    Salt wireframes

    简介 / IntroductionA wireframe is the low-fidelity sketch used early in product design to describe “which blocks exist on the screen and how they are arranged”. It does not care about colors or ...
  • Salt 线框图

    Salt 线框图

    简介 / Introduction线框图(wireframe)是产品设计早期用来描述”界面上有哪些块、块之间怎么排”的低保真草图。它不关心颜色和字体,只关心结构。PlantUML 内置了 salt 引擎,可以用 @startsalt 声明一堆 widget(输入框、文本、按钮),再用 {} 划分屏幕区域,渲染出来的就是一张真正的界面草图。Mermaid 没有 w...
  • ditaa: ASCII art to diagram

    ditaa: ASCII art to diagram

    简介 / Introductionditaa is a notation for “describing shapes as text”: you hand-write +---+ borders and | verticals in the source, and the backend renders them into an actual diagram. PlantUML ...
  • ditaa 字符画转图

    ditaa 字符画转图

    简介 / Introductionditaa 是一种”用字符画描述图形”的记法:你在源码里手写 +---+ 边框和 | 竖线,后端再把它渲染成真正的图形。PlantUML 内置了 ditaa 引擎,因此可以直接用 @startditaa 把字符画变成图片,适合快速画线框草图或者在文档里表达一个”手绘感”很强的布局。Mermaid 没有字符画语法,但可以用 flowchart 表达完...
1…45678…33