csdn - mermaid

https://blog.csdn.net/sandalphon4869/article/details/89341443
https://blog.csdn.net/swinfans/article/details/89393853
https://zhuanlan.zhihu.com/p/614018391
https://blog.csdn.net/qq_42491125/article/details/114005171
https://www.cnblogs.com/leween/p/12945751.html#_label4

方向

TB = TD - top bottom -从上到下
BT - bottom top - 从下到上
LR - left right - 自左向右
RL - right left - 自右向左

链接
长方形
圆角长方形
菱形
TB
TD
top bottom
从上到下
graph TB
	A[TB]---TD---B[top bottom]---从上到下

BT
bottom TOP
从下到上
graph BT
	A[BT]---B[bottom TOP]---从下到上

LR
left right
自左向右
graph LR
	LR --- B[left right] --- 自左向右

RL
right left
自右向左

节点样式

https://blog.csdn.net/sandalphon4869/article/details/89341443

形状

矩形 [内容]
圆角矩形 (内容)
圆形 ((内容))
菱形 {内容}
旗帜 >内容]
[矩形]
长方形
((圆))
{菱形}
>旗帜]
(圆角)
[[subroute process]]
[(圆柱形)]
([椭圆])
{{六边形}}
[/This is the text in the box/]
[\This is the text in the box\]
[/Christmas\]
[\Go shopping/]
graph LR

id1["[矩形]<br>长方形"] --- Id(("((圆))")) ---C{"{菱形}"} --- E>">旗帜]"]

id2("(圆角)") -->
id3[["[[subroute process]]"]] -->
id4[("[(圆柱形)]")]

id5(["([椭圆])"])  -->
id9{{"{{六边形}}"}} 

id10[/"[/This is the text in the box/]"/]  -->
id11[\"[\This is the text in the box\]"\]  -->
 A[/"[/Christmas\]"\] -->
 B[\"[\Go shopping/]"/]

箭头

-->
---
-.->
-.-
==>
===
end

子图

three
two
one
c2
c1
b2
b1
a2
a1

流程图

http://flowchart.js.org/

Created with Raphaël 2.3.0 开始 我的操作 确认? 结束 yes no

类图

Cool
Where am i?
«interface»
Class01
int chimp
int gorilla
size()
AveryLongClass
Class09
C2
C3
Class07
Object[] elementData
equals()
Class10
>>service>>
int id
size()

uml图

张三 李四 王五 你好!李四, 最近怎么样? 你最近怎么样,王五? 我很好,谢谢! 我很好,谢谢! 李四想了很长时间, 文字太长了 不适合放在一行. 打量着王五... 很好... 王五, 你怎么样? 张三 李四 王五

甘特图

2014-01-07 2014-01-09 2014-01-11 2014-01-13 2014-01-15 2014-01-17 2014-01-19 2014-01-21 Completed task Completed task in the critical line Implement parser and jison Active task Create tests for parser Future task Future task in critical line Future task2 Create tests for renderer Add to mermaid A section Critical tasks Adding GANTT diagram functionality to mermaid
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
Mer流程图是一种用于绘制流程图、状态图、时序图和甘特图的语法和库。它使用JavaScript进行本地渲染,并广泛集成于许多Markdown编辑器中。 Mermaid的基本语法可以通过以下示例来进行说明: ``` graph LR A --> B A --> C B --> D C --> D ``` 上述示例中,`graph LR`表示创建一个方向从左到右的流程图。`A`, `B`, `C`, `D`表示节点,`-->`表示节点之间的连接关系。根据上述示例,A节点连接到B和C节点,B和C节点再连接到D节点。 在使用Mermaid绘制流程图时,可以通过安装Vue组件`vue-mermaid`来方便地使用Mermaid库。首先,需要使用以下命令安装依赖: ``` npm install --save vue-mermaid ``` 然后,通过导入`vue-mermaid`组件并将其注册到Vue中,可以在组件中使用Mermaid流程图语法来绘制流程图。 总结起来,Mermaid流程图是一种使用特定语法和库来绘制流程图的方法,可以通过安装合适的工具和组件来使用。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [mermaid基本流程图](https://blog.csdn.net/fukangwei_lite/article/details/119191120)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [Mermaid流程图](https://blog.csdn.net/weixin_38331049/article/details/119568081)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [vue-mermaid:Vue组件的美人鱼流程图](https://download.csdn.net/download/weixin_42109925/18271495)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

qq_1403034144

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值