markdown ——flow流程图

  • 一个纯文本的语法怎么画图?

  • 将流程图代码包含在````folw`和`````之间即可

  • 例子

st=>start: Start
op=>operation: Your Operation
sub=>subroutine: My Subroutine
cond=>condition: Yes or No?
io=>inputoutput: catch something...
e=>end: End

st->op->cond
cond(yes)->io->e
cond(no)->sub(right)->op
流程图元素
  • 开始
    st=>start: 开始
  • 操作
    op=>operation: 操作、执行说明
  • 条件
    cond=>condition: 确认?
  • 子程序
    sub=>subroutine: 子程序操作说明
  • 用户输入或输出
    io=>inputoutput: 输入密码
  • 结束
    e=>end: 结束

posted @ 2019-05-15 23:31  渣爷  阅读(1192)  评论(0编辑  收藏  举报