typora流程图绘制基本操作

流程图

使用
```mermaid
```创建一个流程图编辑区

语法:
graph 方向
节点
  • 申明方向

    • TB-Top Bottom
    • BT-Bottom Top
    • RL-Right Left
    • LR-Left Right
    • TD–TB
  • 节点与形状

    • 方形节点

      id[text]

      Rectangle
    • 圆形节点

      id((text))

      circle
    • 圆角矩形

      id(text)

      Rounded Rectangle
    • 旗条

      id>text]

      flag
    • 菱形节点

      id{text}

      Diamond
  • 连接线

    • 箭头形 A–>B
    • 开放性A–B
    • 标签连接A–>|text|B
    • 虚线
      • A-.->B
      • A=.=.B
    • 粗实线
      • A==>B
      • A===B
  • 示例(横向)

    >0?
    else
    方形
    圆形
    条件
    条件1
    条件二
    graph LR
    box[方形]-->circle((圆形))-.->diamond{条件}
    diamond-->|>0?|caseA[条件1]
    diamond-->|else|case2((条件二))
    
  • 竖向示例同理

  • 标准流程图

    Created with Raphaël 2.3.0 可以插连接 My Operation Yes or No? catch something... End parallel tasks My Subroutine yes no
    st=>start: 可以插链接:>http://www.google.com[blank]
    e=>end:>http://www.google.com
    op1=>operation: My Operation
    sub1=>subroutine: My Subroutine
    cond=>condition: Yes
    or No?:>http://www.google.com
    io=>inputoutput: catch something...
    para=>parallel: parallel tasks
    
    st->op1->cond
    cond(yes)->io->e
    cond(no)->para
    para(path1, bottom)->sub1(right)->op1
    para(path2, top)->op
    

``

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值