gantt
title Team 项目周进度
excludes weekends
dateFormat MM-DD-HH
axisFormat %m-%d
section 3C
任务A :active,a1, 4-18-12, 8h
任务B :after a1, 56h
section VC
任务C :crit,done,4-19-02, 12h
任务D :crit,17h
section MC
任务E :active,4-18-02, 2d
任务F :2d
section 高风险
任务E :4-18-02, 48h
任务F :3d
section 新系统开发
Tenma :4-19-18, 1d
blog format:
<div class="mermaid">
gantt
title Team 项目周进度
excludes weekends
dateFormat MM-DD-HH
axisFormat %m-%d
section 3C
任务A :active,a1, 4-18-12, 8h
任务B :after a1, 56h
section VC
任务C :crit,done,4-19-02, 12h
任务D :crit,17h
section MC
任务E :active,4-18-02, 2d
任务F :2d
section 高风险
任务E :4-18-02, 48h
任务F :3d
section 新系统开发
Tenma :4-19-18, 1d
</div>
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
blog format:
<div class="mermaid">
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
</div>
journey
title 工作日
section 去工作
Make tea: 5: 我
Go upstairs: 3: 我
Do work: 1: 我, 猫
section 回家
Go downstairs: 5: 我
Sit down: 0: 我,猫,was,hen
Go downstairs: 5: 我
Sit down: 0: 我,猫,was,hen
blog format:
<div class="mermaid">
journey
title 工作日
section 去工作
Make tea: 5: 我
Go upstairs: 3: 我
Do work: 1: 我, 猫
section 回家
Go downstairs: 5: 我
Sit down: 0: 我,猫,was,hen
Go downstairs: 5: 我
Sit down: 0: 我,猫,was,hen
</div>
pie title What Voldemort doesn't have?
"FRIENDS" : 2
"FAMILY" : 3
"NOSE" : 45
blog format:
<div class="mermaid">
pie title What Voldemort doesn't have?
"FRIENDS" : 2
"FAMILY" : 3
"NOSE" : 45
</div>
sequenceDiagram
Alice ->> Bob: Hello Bob, how are you?
Bob-->>John: How about you John?
Bob--x Alice: I am good thanks!
Bob-x John: I am good thanks!
Note right of John: Bob thinks a long
long time, so long
that the text does
not fit on a row. Bob-->Alice: Checking with John... Alice->John: Yes... John, how are you?
long time, so long
that the text does
not fit on a row. Bob-->Alice: Checking with John... Alice->John: Yes... John, how are you?
blog format:
<div class="mermaid">
sequenceDiagram
Alice ->> Bob: Hello Bob, how are you?
Bob-->>John: How about you John?
Bob--x Alice: I am good thanks!
Bob-x John: I am good thanks!
Note right of John: Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.
Bob-->Alice: Checking with John...
Alice->John: Yes... John, how are you?
</div>
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts
prevail... John-->>Alice: Great! John->>Bob: How about you? Bob-->>John: Jolly good!
prevail... John-->>Alice: Great! John->>Bob: How about you? Bob-->>John: Jolly good!
blog format:
<div class="mermaid">
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts<br/>prevail...
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
</div>
graph LR
A[Hard edge] -->|Link text| B(Round edge)
B --> C{Decision}
C -->|One| D[Result one]
C -->|Two| E[Result two]
blog format:
```
graph LR
A[Hard edge] -->|Link text| B(Round edge)
B --> C{Decision}
C -->|One| D[Result one]
C -->|Two| E[Result two]
```
### flowchart未完成
start-->start: 开始
e-->end: 结束
start->e
flowchart TB
c1-->a2
subgraph one
a1-->a2
end
subgraph two
b1-->b2
end
subgraph three
c1-->c2
end
one --> two
three --> two
two --> c2
st=>start: 页面加载
e=>end: End:>http://www.google.com
op1=>operation: get_hotel_ids|past
op2=>operation: get_proxy|current
sub1=>subroutine: get_proxy|current
op3=>operation: save_comment|current
op4=>operation: set_sentiment|current
op5=>operation: set_record|current
cond1=>condition: ids_remain空?
cond2=>condition: proxy_list空?
cond3=>condition: ids_got空?
cond4=>condition: 爬取成功??
cond5=>condition: ids_remain空?
io1=>inputoutput: ids-remain
io2=>inputoutput: proxy_list
io3=>inputoutput: ids-got
st->op1(right)->io1->cond1
cond1(yes)->sub1->io2->cond2
cond2(no)->op3
cond2(yes)->sub1
cond1(no)->op3->cond4
cond4(yes)->io3->cond3
cond4(no)->io1
cond3(no)->op4
cond3(yes, right)->cond5
cond5(yes)->op5
cond5(no)->cond3
op5->e
作者:EnzoSun
微信关注:勿忘初兴
本文出处:http://sunduoze.github.io/post/markdown%E4%B9%8Bmermaid/
文章版权归本人所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
Sun's Blog