zweizhao.github.io

项目,文章,随笔,博客,Markdown,个人网站,人生感悟。

View on GitHub

多数不支持,如看云需要插件,写法是 sequence 带上方括号 [sequence]。

```sequence
Title: Here is a title
participant C
participant B
participant A
A->B: Normal line
B-->C: Dashed line
C->>D: Open arrow
D-->>A: Dashed open arrow
Note left of A: Note to the\n left of A
Note right of A: Note to the\n right of A
Note over A: Note over A
Note over A,B: Note over both A and B
Note over C,D: Note over C and D
```
Title: Here is a title
participant C
participant B
participant A
A->B: Normal line
B-->C: Dashed line
C->>D: Open arrow
D-->>A: Dashed open arrow
Note left of A: Note to the\n left of A
Note right of A: Note to the\n right of A
Note over A: Note over A
Note over A,B: Note over both A and B
Note over C,D: Note over C and D
写法 作用
Title 标题
participant 参与对象,可排序
-> 普通实线
–> 开口实线
普通虚线
–» 开口虚线
Note left of x 在某的左边
Note right of x 在某的右边
Note over x,y,… 在谁谁谁的线上