当前位置:网站首页>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
```
边栏推荐
猜你喜欢

JD.com was brutally killed by middleware on two sides. After 30 days of learning this middleware booklet, it advanced to Ali.

作业7.29 目录相关函数和文件属性相关函数

最基础01/完全背包

Decoding Redis' most overlooked high CPU and memory usage issues

展厅全息投影所具备的三大应用特点

【Kaggle比赛常用trick】K折交叉验证、TTA

云主机上的MongoDB被威胁,开启AUTH认证

使用百度EasyDL实现明厨亮灶厨师帽识别

IO/multiplexing (select/poll/epoll)

【语音识别】基于GMM-HMM的语音识别系统
随机推荐
Dry Goods Sharing: Various Implementation Methods of Bean Management Factory with Great Use of Small Skills
Using Baidu EasyDL to realize the recognition of the chef's hat of the bright kitchen
什么是私有云?您应该知道的 6 个优势
CMake library search function does not search LD_LIBRARY_PATH
关于File文件的相关知识
no matching host key type found. Their offer: ssh-rsa
ModelCoder状态机:对柴油机工况判断策略进行建模
dolphinscheduler adds hana support
使用百度EasyDL实现明厨亮灶厨师帽识别
Homework 7.29 correlation function directory and file attributes related functions
[PostgreSQL] - 存储结构及缓存shared_buffers
北上广线下活动丨年底最不可错过的技术聚会都齐了
看了这些6G原型样机,我想一觉睡到2030年
Yilian: Activating the Value Potential of Data Elements and Unleashing the Innovation Dividend of SAS SSD
Apifox generates interface documentation tutorial and operation steps
Kubernetes之本地存储
无人艇轨迹跟踪的预设性能抗扰控制研究
Parallelized Quick Sort Ideas
【ASP.NET Core】选项类的依赖注入
dbaplus丛书丨《MySQL DBA工作笔记》限量签名版来了!