01.15. flowchart
test1
st=>start: 开始|过去:>http://www.google.com[blank]
e=>end: 结束:>http://www.google.com
op1=>operation: 我的操作|past:$myFunction
op2=>operation: 其他操作|current
sub1=>subroutine: 我的子程序|invalid
cond=>condition: 是或否?|approved:>http://www.google.com
c2=>condition: 好主意|rejected
io=>inputoutput: 捕获一些东西...|request
para=>parallel: 并行任务
st->op1(right)->cond
cond(yes, right)->c2
cond(no)->para
c2(true)->io->e
c2(false)->e
para(path1, bottom)->sub1(left)->op1
para(path2, right)->op2->e
st@>op1({"stroke":"Red"})@>cond({"stroke":"Red","stroke-width":6,"arrow-end":"classic-wide-long"})@>c2({"stroke":"Red"})@>op2({"stroke":"Red"})@>e({"stroke":"Red"})
test2
st=>start: 开始
op=>operation: 你的操作
cond=>condition: 是或否?
e=>end: 结束
st->op->cond
cond(yes)->e
cond(no)->op
test3
st=>start: 开始:>http://www.google.com[blank]
e=>end: 结束:>http://www.google.com
op1=>operation: 我的操作
sub1=>subroutine: 我的子程序|invalid
cond=>condition: 线性或多项式:>http://www.google.com
io=>inputoutput: 捕获一些东西... |request
para=>parallel: 3种可能性
st->op1->cond
cond(true@线性)->io->e
cond(false@多项式)->sub1(right)
sub1(right)->para
para(path1@可能性1, top)->cond
para(path2@可能性2, right)->op1
para(path3@可能性3, bottom)->e
test4
st=>start: 开始:>http://www.google.com[blank]
e=>end: 结束:>http://www.google.com
getInfo=>input: 输入信息
op1=>operation: 我的操作
sub1=>subroutine: 我的子程序|invalid
cond=>condition: 是 或 否?:>http://www.google.com
io=>inputoutput: 捕获一些内容... |request
printInfo=>output: 打印信息
para=>parallel: 并行任务
st->getInfo->op1->cond
cond(yes)->io->printInfo->e
cond(no)->para
para(path1, bottom)->sub1(right)->op1
para(path2, top)->op1