第一次练习流程图-时序图-甘特图

50 阅读1分钟

流程图

graph TD
    A{第一步} --> B{第二步}
    B{第二步} --> C{条件判断}
    C{条件判断} -- 是 --> d{处理业务逻辑}
    C{条件判断} -- 否 --> e{结束}
    d{处理业务逻辑} --> e{结束}
graph TD
Start --> Stop

时序图

sequenceDiagram
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
Alice-)John: See you later!

甘特图

gantt
title A Gantt Diagram
dateFormat  YYYY-MM-DD
section Section
A task           :a1, 2014-01-01, 30d
Another task     :after a1  , 20d
section Another
Task in sec      :2014-01-12  , 12d
another task      : 24d

饼图

pie title Pets adopted by volunteers
"Dogs" : 386
"Cats" : 85
"Rats" : 15