找回密码
 立即注册

微信扫码登录

[模板] Flow流程图模板

[复制链接]

马上注册,阅读更多内容,享用更多功能!

您需要 登录 才可以下载或查看,没有账号?立即注册

×
[flow]
op1=>operation: 我的操作1
op2=>operation: 我的操作2
op3=>operation: 我的操作3
op4=>operation: 我的操作4
op5=>operation: 我的操作5
op6=>operation: 我的操作6
op7=>operation: 我的操作7
op8=>operation: 我的操作8
op9=>operation: 我的操作9
op10=>operation: 我的操作10

cond=>condition: 确认?


op1->op2->cond

cond(yes)->op3->op4
cond(no)->op6->op7->op8
[/flow]
 楼主| 阳光肺科 发表于 6 天前 | 显示全部楼层


[flow]
start=>start: 接收到消息
info=>operation: 读取信息
setCache=>operation: 更新缓存
end=>end: 处理结束
start->info->setCache->end
[/flow]


 楼主| 阳光肺科 发表于 6 天前 | 显示全部楼层
[flow]
st=>start: 用户登陆
op=>operation: 登陆操作
cond=>condition: 登陆成功 Yes or No?
e=>end: 进入后台
st->op->cond
cond(yes)->e
cond(no)->op
[/flow]
 楼主| 阳光肺科 发表于 6 天前 | 显示全部楼层
[flow]
st=>start: 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...

st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1[/flow]
 楼主| 阳光肺科 发表于 6 天前 | 显示全部楼层
[flow]start=>start: API请求
cache=>operation: 读取Redis缓存
cached=>condition: 是否有缓存?
sendMq=>operation: 发送MQ,后台服务更新缓存
info=>operation: 读取信息
setCache=>operation: 保存缓存
end=>end: 返回信息
start->cache->cached
cached(yes)->sendMq
cached(no)->info
info->setCache
setCache->end
sendMq->end[/flow]
 楼主| 阳光肺科 发表于 6 天前 | 显示全部楼层
[flow]st=>start: 开始
ipt=>inputoutput: 输入一个x
op=>operation: 处理加工x+1
cond=>condition: 溢出(是或否?)
sub=>subroutine: 子流程
io=>inputoutput: 输出x
ed=>end: 结束
st->ipt->op->cond
cond(yes)->io->ed
cond(no)->sub->io->ed[/flow]
 楼主| 阳光肺科 发表于 6 天前 | 显示全部楼层
[flow]

st=>start: 开始
e=>end: 结束
op=>operation: 我的操作
cond=>condition: 确认?
st->op->cond
cond(yes)->e
cond(no)->op
[/flow]

给我们建议|手机版|阳光肺科 ( 粤ICP备2020077405号-1 )

GMT+8, 2026-9-10 06:16

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表