当前位置:网站首页>Markdown 3 - 流程图表
Markdown 3 - 流程图表
2022-07-30 12:37:00 【伊织code】
- Markdown 1 - 图文音视频等
https://blog.csdn.net/lovechris00/article/details/126065244 - Markdown 2 - Latex 数学
https://blog.csdn.net/lovechris00/article/details/122120691
Mermaid 流程图
每个编辑器支持的特性不同,这里简单介绍下,使用时需要具体测试。
1、显示方向
- TB/TD( top bottom/top down)表示从上到下
- BT(bottom top)表示从下到上
- RL(right left)表示从右到左
- LR(left right)表示从左到右
2、节点类型
节点本身的展现形式,是通过不同括号来代表各自不同的形状,默认为矩形。
- 默认节点: A
- 矩形节点: B[矩形]
- 圆角矩形节点: C(圆角矩形)
- 圆形节点: D((圆形))
- 非对称节点: E非对称]
- 菱形节点: F{菱形}
3、节点连线
线条本身的形式有多种,通过常规的英文格式的格式来标识,具体如下:
- 箭头连接
A1--B1 - 开放连接
A2---B2 - 虚线箭头连接
A3.-B3或者A3-.-B3 - 虚线连接
A4.-B4或者A4-.-B4 - 粗线箭头连接
A5==B5 - 粗线开放连接
A6===B6 - 标签虚线箭头连接
A7-.text.-B7 - 标签开放连接
A8--text---B8
Flowchart 流程图
```mermaid
flowchat
st=>start: 开始
e=>end: 结束
op=>operation: 我的操作
cond=>condition: 确认?
st->op->cond
cond(yes)->e
cond(no)->op
```
UML图
```mermaid
sequenceDiagram
张三 ->> 李四: 你好!李四, 最近怎么样?
李四-->>王五: 你最近怎么样,王五?
李四--x 张三: 我很好,谢谢!
李四-x 王五: 我很好,谢谢!
Note right of 王五: 李四想了很长时间, 文字太长了<br/>不适合放在一行.
李四-->>张三: 打量着王五...
张三->>王五: 很好... 王五, 你怎么样?
```
classDiagram 类图
```mermaid
classDiagram
Class01 <|-- AveryLongClass : Cool
<<interface>> Class01
Class09 --> C2 : Where am i?
Class09 --* C3
Class09 --|> Class07
Class07 : equals()
Class07 : Object[] elementData
Class01 : size()
Class01 : int chimp
Class01 : int gorilla
class Class10 {
>>service>>
int id
size()
}
```
甘特图
```mermaid
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram functionality to mermaid
section 现有任务
已完成 :done, des1, 2014-01-06,2014-01-08
进行中 :active, des2, 2014-01-09, 3d
计划中 : des3, after des2, 5d
```
边栏推荐
猜你喜欢
![[SCTF2019]Flag Shop](/img/26/20e21ec873f41f2633703216453a44.png)
[SCTF2019]Flag Shop

Beijing, Shanghai and Guangzhou offline events丨The most unmissable technology gatherings at the end of the year are all gathered

别被隐私计算表象骗了 | 量子位智库报告(附下载)

PyQt5快速开发与实战 8.4 设置窗口背景 && 8.5 不规则窗口的显示

忆联:激活数据要素价值潜能,释放SAS SSD创新红利

和数集团:让智慧城市更智慧,让现实生活更美好

Unity Beginner 6 - Simple UI production (blood bar production) and audio addition and NPC dialogue bubbles (2d)

重建丢失的数据

MySQL【多表查询】

Using Baidu EasyDL to realize the recognition of the chef's hat of the bright kitchen
随机推荐
句柄与指针的简单理解
漫谈金丝雀部署(Canary Deployment)
Vivado安装后添加器件库
dolphinscheduler单机化改造
数字化时代,寻求企业财务转型路径的最优解
维护数千规模MySQL实例,数据库灾备体系构建指南
Unity Beginner 6 - Simple UI production (blood bar production) and audio addition and NPC dialogue bubbles (2d)
私有化部署的即时通讯平台,为企业移动业务安全保驾护航
unity初学6——简易的UI制作(血条制作)和音频加入以及NPC的对话气泡(2d)
Heshu Group: Make smart cities smarter and make real life better
历时两月,终拿字节跳动offer,算法面试题分享「带答案」
[PostgreSQL] - 存储结构及缓存shared_buffers
【语音识别】基于GMM-HMM的语音识别系统
Execution order of select, from, join, on where groupby, etc. in MySQL
JS事件参数对象event
Using Baidu EasyDL to realize the recognition of the chef's hat of the bright kitchen
[SCTF2019]Flag Shop
Dry Goods Sharing: Various Implementation Methods of Bean Management Factory with Great Use of Small Skills
PyQt5快速开发与实战 8.4 设置窗口背景 && 8.5 不规则窗口的显示
[PostgreSQL] - explain SQL analysis introduction