markdown flow流程圖

markdown使用flow來畫流程圖 在markdown語法中,流程圖的畫法和代碼段相似,也就是說,流程圖是寫在兩個 ``` 之間的。 基本使用下面的六種類型,名「符」其實。markdown

  • start
  • end
  • operation
  • subroutine
  • condition
  • inputoutput

流程圖的語法大致分爲兩段,第一段用來定義元素,第二段用來鏈接元素:3d

```flow
st=>start: Start
in=>inputoutput: input
e=>end: End
st->in
in->e
```blog

```flow
st=>start: Start
op=>operation: Your Operation
cond=>condition: Yes or No?
op2=>operation: wash
e=>end
st->op->cond
cond(yes)->op2
cond(no)->op
op2->e
 input

相關文章
相關標籤/搜索