markdown flow流程图

吃可爱长大的小学妹 提交于 2020-02-25 23:04:28

markdown使用flow来画流程图 在markdown语法中,流程图的画法和代码段类似,也就是说,流程图是写在两个 ``` 之间的。 基本使用下面的六种类型,名“符”其实。

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

流程图的语法大体分为两段,第一段用来定义元素,第二段用来连接元素:

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

```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
 

 


标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!