Markdown写出高大上流程图
Markdown是一个轻量级的标记语言,使用普通文本编辑器就能快速编写,不仅显示格式丰富,功能也毫不含糊,分享一个md格式的API请求流程图。 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 显示效果: start=>start: 接收到消息 info=>operation: 读取信息 setCache=>operation: 更新缓存 end=>end: 处理结束 start->info->setCache->end 显示效果: md在线编辑器: https://www.mdeditor.com/ 来源: 51CTO 作者: wx5b3c0a4298f7b 链接: https://blog.51cto.com/13851865/2467087