补充参考资料.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
parent
449ddf6827
commit
102d9594d6
|
@ -200,7 +200,7 @@ Animal..>Food
|
||||||
## 5.Mermaid 横向流程图
|
## 5.Mermaid 横向流程图
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
graph LR
|
flowchart LR
|
||||||
A[方形] --> B(圆角)
|
A[方形] --> B(圆角)
|
||||||
B --> C{条件a}
|
B --> C{条件a}
|
||||||
C --> |a=1| D[结果1]
|
C --> |a=1| D[结果1]
|
||||||
|
@ -211,12 +211,15 @@ F[横向流程图]
|
||||||
## 6.Mermaid 纵向流程图
|
## 6.Mermaid 纵向流程图
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
graph TD
|
flowchart TD
|
||||||
A[方形] --> B(圆角)
|
A[方形] --> B(圆角)
|
||||||
B --> C{条件a}
|
B --> C{条件a}
|
||||||
C --> D[结果1]
|
C --> D[结果1]
|
||||||
C --> E[结果2]
|
C --> E[结果2]
|
||||||
F[竖向流程图]
|
subgraph F[F]
|
||||||
|
direction TB
|
||||||
|
G[纵向流程图]
|
||||||
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
## 7.Mermaid 时序图
|
## 7.Mermaid 时序图
|
||||||
|
@ -234,3 +237,7 @@ John-->Alice:Great!
|
||||||
John->Bob: How about you?
|
John->Bob: How about you?
|
||||||
Bob-->John: Jolly good!
|
Bob-->John: Jolly good!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 8.外部参考资料
|
||||||
|
|
||||||
|
1. [About Mermaid](https://mermaid-js.github.io/mermaid/#/)
|
||||||
|
|
Loading…
Reference in New Issue