2024年C C++最全Mermaid画图教程(一)_mermaid绘图,温故而知新

img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上C C++开发知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

如果你需要这些资料,可以戳这里获取

three

one

不同子图元素
之间的连接

子图内部元素
之间的连接

子图之间的连接

c2

c1

two

b2

b1

a2

a1

graph

graph LR
	%% flowchart改为graph也可以
	%% 风格1,用红色填充,边框用蓝色,边框宽度两个像素
	classDef mystyle1 fill:#f00, stroke:#00f, stroke-width:2px;
	classDef mystyle2 fill:#0f0, stroke:#f00, stroke-width:4px;
	classDef mystyle3 fill:#00f, stroke:#0f0, stroke-width:8px,color:#fff,stroke-dasharray: 6 3
	classDef default fill:#f9f,stroke:#333,stroke-width:4px;
	%% :::表示继承类(风格)
	D[(默认风格)]
	B(绿色填充<br/>红边框<br/>圆角):::mystyle2 --> D
	C[蓝色填充<br/>绿色边框<br/>白色字体]:::mystyle3 --> D
	%% D默认为default风格
	
	e((显示特别<br/>的符号)) -->|"f(,.?!+-\*ز)"| f(,.?!+-\*ز)
	
	C --> b2
	subgraph subgraph1
		a1{"{菱形}"} --- a2[/"[/梯形\]"\]
	end
	subgraph subgraph2
		b1[["[[xxx]]"]] -->|子图内部元<br/>素的连接| b2(["([圆角])"])
	end
	%% graph图形是不能在子图之间进行连接,但是子图内部的元素还是可以
	%% subgraph1 --> subgraph2
	%% a1 -->|子图元素<br/>之间的连接| b1

#mermaid-svg-rsRVtqLFWKs11WWT .label{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);fill:#333;color:#333}#mermaid-svg-rsRVtqLFWKs11WWT .label text{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT .node rect,#mermaid-svg-rsRVtqLFWKs11WWT .node circle,#mermaid-svg-rsRVtqLFWKs11WWT .node ellipse,#mermaid-svg-rsRVtqLFWKs11WWT .node polygon,#mermaid-svg-rsRVtqLFWKs11WWT .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-rsRVtqLFWKs11WWT .node .label{text-align:center;fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT .node.clickable{cursor:pointer}#mermaid-svg-rsRVtqLFWKs11WWT .arrowheadPath{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-rsRVtqLFWKs11WWT .flowchart-link{stroke:#333;fill:none}#mermaid-svg-rsRVtqLFWKs11WWT .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-rsRVtqLFWKs11WWT .edgeLabel rect{opacity:0.9}#mermaid-svg-rsRVtqLFWKs11WWT .edgeLabel span{color:#333}#mermaid-svg-rsRVtqLFWKs11WWT .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-rsRVtqLFWKs11WWT .cluster text{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-rsRVtqLFWKs11WWT .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-rsRVtqLFWKs11WWT text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-rsRVtqLFWKs11WWT .actor-line{stroke:grey}#mermaid-svg-rsRVtqLFWKs11WWT .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-rsRVtqLFWKs11WWT .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-rsRVtqLFWKs11WWT #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-rsRVtqLFWKs11WWT .sequenceNumber{fill:#fff}#mermaid-svg-rsRVtqLFWKs11WWT #sequencenumber{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT #crosshead path{fill:#333;stroke:#333}#mermaid-svg-rsRVtqLFWKs11WWT .messageText{fill:#333;stroke:#333}#mermaid-svg-rsRVtqLFWKs11WWT .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-rsRVtqLFWKs11WWT .labelText,#mermaid-svg-rsRVtqLFWKs11WWT .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-rsRVtqLFWKs11WWT .loopText,#mermaid-svg-rsRVtqLFWKs11WWT .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-rsRVtqLFWKs11WWT .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-rsRVtqLFWKs11WWT .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-rsRVtqLFWKs11WWT .noteText,#mermaid-svg-rsRVtqLFWKs11WWT .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-rsRVtqLFWKs11WWT .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-rsRVtqLFWKs11WWT .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-rsRVtqLFWKs11WWT .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-rsRVtqLFWKs11WWT .mermaid-main-font{font-family:“trebuchet ms”, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT .section{stroke:none;opacity:0.2}#mermaid-svg-rsRVtqLFWKs11WWT .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-rsRVtqLFWKs11WWT .section2{fill:#fff400}#mermaid-svg-rsRVtqLFWKs11WWT .section1,#mermaid-svg-rsRVtqLFWKs11WWT .section3{fill:#fff;opacity:0.2}#mermaid-svg-rsRVtqLFWKs11WWT .sectionTitle0{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT .sectionTitle1{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT .sectionTitle2{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT .sectionTitle3{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-rsRVtqLFWKs11WWT .grid .tick text{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT .grid path{stroke-width:0}#mermaid-svg-rsRVtqLFWKs11WWT .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-rsRVtqLFWKs11WWT .task{stroke-width:2}#mermaid-svg-rsRVtqLFWKs11WWT .taskText{text-anchor:middle;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT .taskText:not([font-size]){font-size:11px}#mermaid-svg-rsRVtqLFWKs11WWT .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-rsRVtqLFWKs11WWT .task.clickable{cursor:pointer}#mermaid-svg-rsRVtqLFWKs11WWT .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-rsRVtqLFWKs11WWT .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-rsRVtqLFWKs11WWT .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-rsRVtqLFWKs11WWT .taskText0,#mermaid-svg-rsRVtqLFWKs11WWT .taskText1,#mermaid-svg-rsRVtqLFWKs11WWT .taskText2,#mermaid-svg-rsRVtqLFWKs11WWT .taskText3{fill:#fff}#mermaid-svg-rsRVtqLFWKs11WWT .task0,#mermaid-svg-rsRVtqLFWKs11WWT .task1,#mermaid-svg-rsRVtqLFWKs11WWT .task2,#mermaid-svg-rsRVtqLFWKs11WWT .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-rsRVtqLFWKs11WWT .taskTextOutside0,#mermaid-svg-rsRVtqLFWKs11WWT .taskTextOutside2{fill:#000}#mermaid-svg-rsRVtqLFWKs11WWT .taskTextOutside1,#mermaid-svg-rsRVtqLFWKs11WWT .taskTextOutside3{fill:#000}#mermaid-svg-rsRVtqLFWKs11WWT .active0,#mermaid-svg-rsRVtqLFWKs11WWT .active1,#mermaid-svg-rsRVtqLFWKs11WWT .active2,#mermaid-svg-rsRVtqLFWKs11WWT .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-rsRVtqLFWKs11WWT .activeText0,#mermaid-svg-rsRVtqLFWKs11WWT .activeText1,#mermaid-svg-rsRVtqLFWKs11WWT .activeText2,#mermaid-svg-rsRVtqLFWKs11WWT .activeText3{fill:#000 !important}#mermaid-svg-rsRVtqLFWKs11WWT .done0,#mermaid-svg-rsRVtqLFWKs11WWT .done1,#mermaid-svg-rsRVtqLFWKs11WWT .done2,#mermaid-svg-rsRVtqLFWKs11WWT .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-rsRVtqLFWKs11WWT .doneText0,#mermaid-svg-rsRVtqLFWKs11WWT .doneText1,#mermaid-svg-rsRVtqLFWKs11WWT .doneText2,#mermaid-svg-rsRVtqLFWKs11WWT .doneText3{fill:#000 !important}#mermaid-svg-rsRVtqLFWKs11WWT .crit0,#mermaid-svg-rsRVtqLFWKs11WWT .crit1,#mermaid-svg-rsRVtqLFWKs11WWT .crit2,#mermaid-svg-rsRVtqLFWKs11WWT .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-rsRVtqLFWKs11WWT .activeCrit0,#mermaid-svg-rsRVtqLFWKs11WWT .activeCrit1,#mermaid-svg-rsRVtqLFWKs11WWT .activeCrit2,#mermaid-svg-rsRVtqLFWKs11WWT .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-rsRVtqLFWKs11WWT .doneCrit0,#mermaid-svg-rsRVtqLFWKs11WWT .doneCrit1,#mermaid-svg-rsRVtqLFWKs11WWT .doneCrit2,#mermaid-svg-rsRVtqLFWKs11WWT .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-rsRVtqLFWKs11WWT .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-rsRVtqLFWKs11WWT .milestoneText{font-style:italic}#mermaid-svg-rsRVtqLFWKs11WWT .doneCritText0,#mermaid-svg-rsRVtqLFWKs11WWT .doneCritText1,#mermaid-svg-rsRVtqLFWKs11WWT .doneCritText2,#mermaid-svg-rsRVtqLFWKs11WWT .doneCritText3{fill:#000 !important}#mermaid-svg-rsRVtqLFWKs11WWT .activeCritText0,#mermaid-svg-rsRVtqLFWKs11WWT .activeCritText1,#mermaid-svg-rsRVtqLFWKs11WWT .activeCritText2,#mermaid-svg-rsRVtqLFWKs11WWT .activeCritText3{fill:#000 !important}#mermaid-svg-rsRVtqLFWKs11WWT .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT g.classGroup text{fill:#9370db;stroke:none;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:10px}#mermaid-svg-rsRVtqLFWKs11WWT g.classGroup text .title{font-weight:bolder}#mermaid-svg-rsRVtqLFWKs11WWT g.clickable{cursor:pointer}#mermaid-svg-rsRVtqLFWKs11WWT g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-rsRVtqLFWKs11WWT g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-rsRVtqLFWKs11WWT .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-rsRVtqLFWKs11WWT .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-rsRVtqLFWKs11WWT .dashed-line{stroke-dasharray:3}#mermaid-svg-rsRVtqLFWKs11WWT #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT .commit-id,#mermaid-svg-rsRVtqLFWKs11WWT .commit-msg,#mermaid-svg-rsRVtqLFWKs11WWT .branch-label{fill:lightgrey;color:lightgrey;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT .slice{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-rsRVtqLFWKs11WWT g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-rsRVtqLFWKs11WWT g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-rsRVtqLFWKs11WWT g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-rsRVtqLFWKs11WWT .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-rsRVtqLFWKs11WWT .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-rsRVtqLFWKs11WWT .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-rsRVtqLFWKs11WWT .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-rsRVtqLFWKs11WWT .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-rsRVtqLFWKs11WWT .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-rsRVtqLFWKs11WWT .edgeLabel text{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-rsRVtqLFWKs11WWT .node circle.state-start{fill:black;stroke:black}#mermaid-svg-rsRVtqLFWKs11WWT .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-rsRVtqLFWKs11WWT #statediagram-barbEnd{fill:#9370db}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-state .divider{stroke:#9370db}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-rsRVtqLFWKs11WWT .note-edge{stroke-dasharray:5}#mermaid-svg-rsRVtqLFWKs11WWT .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{–mermaid-font-family: ‘“trebuchet ms”, verdana, arial’;–mermaid-font-family: “Comic Sans MS”, “Comic Sans”, cursive}#mermaid-svg-rsRVtqLFWKs11WWT .error-icon{fill:#522}#mermaid-svg-rsRVtqLFWKs11WWT .error-text{fill:#522;stroke:#522}#mermaid-svg-rsRVtqLFWKs11WWT .edge-thickness-normal{stroke-width:2px}#mermaid-svg-rsRVtqLFWKs11WWT .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-rsRVtqLFWKs11WWT .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-rsRVtqLFWKs11WWT .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-rsRVtqLFWKs11WWT .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-rsRVtqLFWKs11WWT .marker{fill:#333}#mermaid-svg-rsRVtqLFWKs11WWT .marker.cross{stroke:#333}

:root { --mermaid-font-family: “trebuchet ms”, verdana, arial;}
#mermaid-svg-rsRVtqLFWKs11WWT .mystyle1 > * { fill:#f00 !important; stroke:#00f !important; stroke-width:2px !important; }
#mermaid-svg-rsRVtqLFWKs11WWT .mystyle1 tspan { !important; }
#mermaid-svg-rsRVtqLFWKs11WWT .mystyle2 > * { fill:#0f0 !important; stroke:#f00 !important; stroke-width:4px !important; }
#mermaid-svg-rsRVtqLFWKs11WWT .mystyle2 tspan { !important; }
#mermaid-svg-rsRVtqLFWKs11WWT .mystyle3 > * { fill:#00f !important; stroke:#0f0 !important; stroke-width:8px !important; color:#fff !important; stroke-dasharray: 6 3 !important; }
#mermaid-svg-rsRVtqLFWKs11WWT .mystyle3 tspan { fill:#fff !important; }
#mermaid-svg-rsRVtqLFWKs11WWT .default > * { fill:#f9f !important; stroke:#333 !important; stroke-width:4px !important; }
#mermaid-svg-rsRVtqLFWKs11WWT .default tspan { !important; }
#mermaid-svg-rsRVtqLFWKs11WWT {
color: rgba(0, 0, 0, 0.75);
font: ;
}

subgraph2

subgraph1

f(,.?!±*ز)

子图内部元
素的连接

([圆角])

[[xxx]]

[/梯形]

{菱形}

默认风格

绿色填充

红边框

圆角

蓝色填充

绿色边框

白色字体

显示特别

的符号

,.?!±*ز

绑定事件

不是很懂

饼图-pie

pie 
    title Like
    "DSP" : 23
    "通信原理" : 21
    "移动通信" : 18
    "电信传输理论" : 10
    "毛概" : 15

#mermaid-svg-GdYdF0iZ4dleSu7u .label{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);fill:#333;color:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .label text{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .node rect,#mermaid-svg-GdYdF0iZ4dleSu7u .node circle,#mermaid-svg-GdYdF0iZ4dleSu7u .node ellipse,#mermaid-svg-GdYdF0iZ4dleSu7u .node polygon,#mermaid-svg-GdYdF0iZ4dleSu7u .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-GdYdF0iZ4dleSu7u .node .label{text-align:center;fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .node.clickable{cursor:pointer}#mermaid-svg-GdYdF0iZ4dleSu7u .arrowheadPath{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-GdYdF0iZ4dleSu7u .flowchart-link{stroke:#333;fill:none}#mermaid-svg-GdYdF0iZ4dleSu7u .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-GdYdF0iZ4dleSu7u .edgeLabel rect{opacity:0.9}#mermaid-svg-GdYdF0iZ4dleSu7u .edgeLabel span{color:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-GdYdF0iZ4dleSu7u .cluster text{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-GdYdF0iZ4dleSu7u .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-GdYdF0iZ4dleSu7u text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-GdYdF0iZ4dleSu7u .actor-line{stroke:grey}#mermaid-svg-GdYdF0iZ4dleSu7u .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-GdYdF0iZ4dleSu7u #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .sequenceNumber{fill:#fff}#mermaid-svg-GdYdF0iZ4dleSu7u #sequencenumber{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u #crosshead path{fill:#333;stroke:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .messageText{fill:#333;stroke:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-GdYdF0iZ4dleSu7u .labelText,#mermaid-svg-GdYdF0iZ4dleSu7u .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-GdYdF0iZ4dleSu7u .loopText,#mermaid-svg-GdYdF0iZ4dleSu7u .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-GdYdF0iZ4dleSu7u .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-GdYdF0iZ4dleSu7u .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-GdYdF0iZ4dleSu7u .noteText,#mermaid-svg-GdYdF0iZ4dleSu7u .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-GdYdF0iZ4dleSu7u .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-GdYdF0iZ4dleSu7u .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-GdYdF0iZ4dleSu7u .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-GdYdF0iZ4dleSu7u .mermaid-main-font{font-family:“trebuchet ms”, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u .section{stroke:none;opacity:0.2}#mermaid-svg-GdYdF0iZ4dleSu7u .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-GdYdF0iZ4dleSu7u .section2{fill:#fff400}#mermaid-svg-GdYdF0iZ4dleSu7u .section1,#mermaid-svg-GdYdF0iZ4dleSu7u .section3{fill:#fff;opacity:0.2}#mermaid-svg-GdYdF0iZ4dleSu7u .sectionTitle0{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .sectionTitle1{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .sectionTitle2{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .sectionTitle3{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-GdYdF0iZ4dleSu7u .grid .tick text{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u .grid path{stroke-width:0}#mermaid-svg-GdYdF0iZ4dleSu7u .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-GdYdF0iZ4dleSu7u .task{stroke-width:2}#mermaid-svg-GdYdF0iZ4dleSu7u .taskText{text-anchor:middle;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u .taskText:not([font-size]){font-size:11px}#mermaid-svg-GdYdF0iZ4dleSu7u .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-GdYdF0iZ4dleSu7u .task.clickable{cursor:pointer}#mermaid-svg-GdYdF0iZ4dleSu7u .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-GdYdF0iZ4dleSu7u .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-GdYdF0iZ4dleSu7u .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-GdYdF0iZ4dleSu7u .taskText0,#mermaid-svg-GdYdF0iZ4dleSu7u .taskText1,#mermaid-svg-GdYdF0iZ4dleSu7u .taskText2,#mermaid-svg-GdYdF0iZ4dleSu7u .taskText3{fill:#fff}#mermaid-svg-GdYdF0iZ4dleSu7u .task0,#mermaid-svg-GdYdF0iZ4dleSu7u .task1,#mermaid-svg-GdYdF0iZ4dleSu7u .task2,#mermaid-svg-GdYdF0iZ4dleSu7u .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-GdYdF0iZ4dleSu7u .taskTextOutside0,#mermaid-svg-GdYdF0iZ4dleSu7u .taskTextOutside2{fill:#000}#mermaid-svg-GdYdF0iZ4dleSu7u .taskTextOutside1,#mermaid-svg-GdYdF0iZ4dleSu7u .taskTextOutside3{fill:#000}#mermaid-svg-GdYdF0iZ4dleSu7u .active0,#mermaid-svg-GdYdF0iZ4dleSu7u .active1,#mermaid-svg-GdYdF0iZ4dleSu7u .active2,#mermaid-svg-GdYdF0iZ4dleSu7u .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-GdYdF0iZ4dleSu7u .activeText0,#mermaid-svg-GdYdF0iZ4dleSu7u .activeText1,#mermaid-svg-GdYdF0iZ4dleSu7u .activeText2,#mermaid-svg-GdYdF0iZ4dleSu7u .activeText3{fill:#000 !important}#mermaid-svg-GdYdF0iZ4dleSu7u .done0,#mermaid-svg-GdYdF0iZ4dleSu7u .done1,#mermaid-svg-GdYdF0iZ4dleSu7u .done2,#mermaid-svg-GdYdF0iZ4dleSu7u .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-GdYdF0iZ4dleSu7u .doneText0,#mermaid-svg-GdYdF0iZ4dleSu7u .doneText1,#mermaid-svg-GdYdF0iZ4dleSu7u .doneText2,#mermaid-svg-GdYdF0iZ4dleSu7u .doneText3{fill:#000 !important}#mermaid-svg-GdYdF0iZ4dleSu7u .crit0,#mermaid-svg-GdYdF0iZ4dleSu7u .crit1,#mermaid-svg-GdYdF0iZ4dleSu7u .crit2,#mermaid-svg-GdYdF0iZ4dleSu7u .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-GdYdF0iZ4dleSu7u .activeCrit0,#mermaid-svg-GdYdF0iZ4dleSu7u .activeCrit1,#mermaid-svg-GdYdF0iZ4dleSu7u .activeCrit2,#mermaid-svg-GdYdF0iZ4dleSu7u .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-GdYdF0iZ4dleSu7u .doneCrit0,#mermaid-svg-GdYdF0iZ4dleSu7u .doneCrit1,#mermaid-svg-GdYdF0iZ4dleSu7u .doneCrit2,#mermaid-svg-GdYdF0iZ4dleSu7u .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-GdYdF0iZ4dleSu7u .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-GdYdF0iZ4dleSu7u .milestoneText{font-style:italic}#mermaid-svg-GdYdF0iZ4dleSu7u .doneCritText0,#mermaid-svg-GdYdF0iZ4dleSu7u .doneCritText1,#mermaid-svg-GdYdF0iZ4dleSu7u .doneCritText2,#mermaid-svg-GdYdF0iZ4dleSu7u .doneCritText3{fill:#000 !important}#mermaid-svg-GdYdF0iZ4dleSu7u .activeCritText0,#mermaid-svg-GdYdF0iZ4dleSu7u .activeCritText1,#mermaid-svg-GdYdF0iZ4dleSu7u .activeCritText2,#mermaid-svg-GdYdF0iZ4dleSu7u .activeCritText3{fill:#000 !important}#mermaid-svg-GdYdF0iZ4dleSu7u .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u g.classGroup text{fill:#9370db;stroke:none;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:10px}#mermaid-svg-GdYdF0iZ4dleSu7u g.classGroup text .title{font-weight:bolder}#mermaid-svg-GdYdF0iZ4dleSu7u g.clickable{cursor:pointer}#mermaid-svg-GdYdF0iZ4dleSu7u g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-GdYdF0iZ4dleSu7u g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-GdYdF0iZ4dleSu7u .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-GdYdF0iZ4dleSu7u .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-GdYdF0iZ4dleSu7u .dashed-line{stroke-dasharray:3}#mermaid-svg-GdYdF0iZ4dleSu7u #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u .commit-id,#mermaid-svg-GdYdF0iZ4dleSu7u .commit-msg,#mermaid-svg-GdYdF0iZ4dleSu7u .branch-label{fill:lightgrey;color:lightgrey;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u .slice{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-GdYdF0iZ4dleSu7u g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-GdYdF0iZ4dleSu7u g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-GdYdF0iZ4dleSu7u g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-GdYdF0iZ4dleSu7u .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-GdYdF0iZ4dleSu7u .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-GdYdF0iZ4dleSu7u .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-GdYdF0iZ4dleSu7u .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-GdYdF0iZ4dleSu7u .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-GdYdF0iZ4dleSu7u .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-GdYdF0iZ4dleSu7u .edgeLabel text{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-GdYdF0iZ4dleSu7u .node circle.state-start{fill:black;stroke:black}#mermaid-svg-GdYdF0iZ4dleSu7u .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-GdYdF0iZ4dleSu7u #statediagram-barbEnd{fill:#9370db}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-state .divider{stroke:#9370db}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-GdYdF0iZ4dleSu7u .note-edge{stroke-dasharray:5}#mermaid-svg-GdYdF0iZ4dleSu7u .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{–mermaid-font-family: ‘“trebuchet ms”, verdana, arial’;–mermaid-font-family: “Comic Sans MS”, “Comic Sans”, cursive}#mermaid-svg-GdYdF0iZ4dleSu7u .error-icon{fill:#522}#mermaid-svg-GdYdF0iZ4dleSu7u .error-text{fill:#522;stroke:#522}#mermaid-svg-GdYdF0iZ4dleSu7u .edge-thickness-normal{stroke-width:2px}#mermaid-svg-GdYdF0iZ4dleSu7u .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-GdYdF0iZ4dleSu7u .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-GdYdF0iZ4dleSu7u .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-GdYdF0iZ4dleSu7u .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-GdYdF0iZ4dleSu7u .marker{fill:#333}#mermaid-svg-GdYdF0iZ4dleSu7u .marker.cross{stroke:#333}

:root { --mermaid-font-family: “trebuchet ms”, verdana, arial;}
#mermaid-svg-GdYdF0iZ4dleSu7u {
color: rgba(0, 0, 0, 0.75);
font: ;
}

26%

24%

21%

11%

17%

Like

DSP

通信原理

移动通信

电信传输理论

毛概

顺序图-sequenceDiagram

基本语法:[Actor][Arrow][Actor]:Message textActor表示角色的意思。其中Arrow->,–>,->>,–>>,-X,–X

Styling of a sequence diagram is done by defining a number of css classes. During rendering these classes are extracted from the file located at src/themes/sequence.scss:序列图的样式是通过定义多个CSS类来完成的。在渲染期间,这些类是从src / themes / sequence.scss中的文件中提取的。

sequenceDiagram
	%% 自动编号
	autonumber
	%% 定义参与者并取别名,aliases:别名
        participant A as Aly
        participant B as Bob
        participant C as CofCai
        %% 便签说明
        Note left of A: 只复习了一部分
        Note right of B: 没复习
        Note over A,B: are contacting
        
        A->>B: 明天是要考试吗?
        B-->>A: 好像是的!
        
        %% 显示并行发生的动作,parallel:平行
        %% par [action1]
        rect rgb(0, 255, 255)
            par askA
                C -->> A:你复习好了吗?
            and askB
                C -->> B:你复习好了吗?
            and self
                C ->>C:我还没准备复习......
            end
        end
        
        %% 背景高亮,提供一个有颜色的背景矩形
        rect rgb(255, 255, 0)
            loop 自问/Every min
            %% <br/>可以换行
            C ->> C:我什么时候<br/>开始复习呢?
            end
        end
        
        %% 可选择路径
        rect rgb(200, 100, 100)
            alt is good
                A ->> C:复习了一点
            else is common
                B ->> C:我也是
            end
            %% 没有else时可以提供默认的opt
            opt Extra response
                C ->> C:你们怎么不回答我
            end
        end

#mermaid-svg-OgEhNm0ct67x2FVP .label{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);fill:#333;color:#333}#mermaid-svg-OgEhNm0ct67x2FVP .label text{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP .node rect,#mermaid-svg-OgEhNm0ct67x2FVP .node circle,#mermaid-svg-OgEhNm0ct67x2FVP .node ellipse,#mermaid-svg-OgEhNm0ct67x2FVP .node polygon,#mermaid-svg-OgEhNm0ct67x2FVP .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-OgEhNm0ct67x2FVP .node .label{text-align:center;fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP .node.clickable{cursor:pointer}#mermaid-svg-OgEhNm0ct67x2FVP .arrowheadPath{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-OgEhNm0ct67x2FVP .flowchart-link{stroke:#333;fill:none}#mermaid-svg-OgEhNm0ct67x2FVP .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-OgEhNm0ct67x2FVP .edgeLabel rect{opacity:0.9}#mermaid-svg-OgEhNm0ct67x2FVP .edgeLabel span{color:#333}#mermaid-svg-OgEhNm0ct67x2FVP .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-OgEhNm0ct67x2FVP .cluster text{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-OgEhNm0ct67x2FVP .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-OgEhNm0ct67x2FVP text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-OgEhNm0ct67x2FVP .actor-line{stroke:grey}#mermaid-svg-OgEhNm0ct67x2FVP .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-OgEhNm0ct67x2FVP .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-OgEhNm0ct67x2FVP #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-OgEhNm0ct67x2FVP .sequenceNumber{fill:#fff}#mermaid-svg-OgEhNm0ct67x2FVP #sequencenumber{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP #crosshead path{fill:#333;stroke:#333}#mermaid-svg-OgEhNm0ct67x2FVP .messageText{fill:#333;stroke:#333}#mermaid-svg-OgEhNm0ct67x2FVP .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-OgEhNm0ct67x2FVP .labelText,#mermaid-svg-OgEhNm0ct67x2FVP .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-OgEhNm0ct67x2FVP .loopText,#mermaid-svg-OgEhNm0ct67x2FVP .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-OgEhNm0ct67x2FVP .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-OgEhNm0ct67x2FVP .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-OgEhNm0ct67x2FVP .noteText,#mermaid-svg-OgEhNm0ct67x2FVP .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-OgEhNm0ct67x2FVP .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-OgEhNm0ct67x2FVP .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-OgEhNm0ct67x2FVP .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-OgEhNm0ct67x2FVP .mermaid-main-font{font-family:“trebuchet ms”, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP .section{stroke:none;opacity:0.2}#mermaid-svg-OgEhNm0ct67x2FVP .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-OgEhNm0ct67x2FVP .section2{fill:#fff400}#mermaid-svg-OgEhNm0ct67x2FVP .section1,#mermaid-svg-OgEhNm0ct67x2FVP .section3{fill:#fff;opacity:0.2}#mermaid-svg-OgEhNm0ct67x2FVP .sectionTitle0{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP .sectionTitle1{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP .sectionTitle2{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP .sectionTitle3{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-OgEhNm0ct67x2FVP .grid .tick text{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP .grid path{stroke-width:0}#mermaid-svg-OgEhNm0ct67x2FVP .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-OgEhNm0ct67x2FVP .task{stroke-width:2}#mermaid-svg-OgEhNm0ct67x2FVP .taskText{text-anchor:middle;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP .taskText:not([font-size]){font-size:11px}#mermaid-svg-OgEhNm0ct67x2FVP .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-OgEhNm0ct67x2FVP .task.clickable{cursor:pointer}#mermaid-svg-OgEhNm0ct67x2FVP .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-OgEhNm0ct67x2FVP .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-OgEhNm0ct67x2FVP .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-OgEhNm0ct67x2FVP .taskText0,#mermaid-svg-OgEhNm0ct67x2FVP .taskText1,#mermaid-svg-OgEhNm0ct67x2FVP .taskText2,#mermaid-svg-OgEhNm0ct67x2FVP .taskText3{fill:#fff}#mermaid-svg-OgEhNm0ct67x2FVP .task0,#mermaid-svg-OgEhNm0ct67x2FVP .task1,#mermaid-svg-OgEhNm0ct67x2FVP .task2,#mermaid-svg-OgEhNm0ct67x2FVP .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-OgEhNm0ct67x2FVP .taskTextOutside0,#mermaid-svg-OgEhNm0ct67x2FVP .taskTextOutside2{fill:#000}#mermaid-svg-OgEhNm0ct67x2FVP .taskTextOutside1,#mermaid-svg-OgEhNm0ct67x2FVP .taskTextOutside3{fill:#000}#mermaid-svg-OgEhNm0ct67x2FVP .active0,#mermaid-svg-OgEhNm0ct67x2FVP .active1,#mermaid-svg-OgEhNm0ct67x2FVP .active2,#mermaid-svg-OgEhNm0ct67x2FVP .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-OgEhNm0ct67x2FVP .activeText0,#mermaid-svg-OgEhNm0ct67x2FVP .activeText1,#mermaid-svg-OgEhNm0ct67x2FVP .activeText2,#mermaid-svg-OgEhNm0ct67x2FVP .activeText3{fill:#000 !important}#mermaid-svg-OgEhNm0ct67x2FVP .done0,#mermaid-svg-OgEhNm0ct67x2FVP .done1,#mermaid-svg-OgEhNm0ct67x2FVP .done2,#mermaid-svg-OgEhNm0ct67x2FVP .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-OgEhNm0ct67x2FVP .doneText0,#mermaid-svg-OgEhNm0ct67x2FVP .doneText1,#mermaid-svg-OgEhNm0ct67x2FVP .doneText2,#mermaid-svg-OgEhNm0ct67x2FVP .doneText3{fill:#000 !important}#mermaid-svg-OgEhNm0ct67x2FVP .crit0,#mermaid-svg-OgEhNm0ct67x2FVP .crit1,#mermaid-svg-OgEhNm0ct67x2FVP .crit2,#mermaid-svg-OgEhNm0ct67x2FVP .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-OgEhNm0ct67x2FVP .activeCrit0,#mermaid-svg-OgEhNm0ct67x2FVP .activeCrit1,#mermaid-svg-OgEhNm0ct67x2FVP .activeCrit2,#mermaid-svg-OgEhNm0ct67x2FVP .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-OgEhNm0ct67x2FVP .doneCrit0,#mermaid-svg-OgEhNm0ct67x2FVP .doneCrit1,#mermaid-svg-OgEhNm0ct67x2FVP .doneCrit2,#mermaid-svg-OgEhNm0ct67x2FVP .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-OgEhNm0ct67x2FVP .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-OgEhNm0ct67x2FVP .milestoneText{font-style:italic}#mermaid-svg-OgEhNm0ct67x2FVP .doneCritText0,#mermaid-svg-OgEhNm0ct67x2FVP .doneCritText1,#mermaid-svg-OgEhNm0ct67x2FVP .doneCritText2,#mermaid-svg-OgEhNm0ct67x2FVP .doneCritText3{fill:#000 !important}#mermaid-svg-OgEhNm0ct67x2FVP .activeCritText0,#mermaid-svg-OgEhNm0ct67x2FVP .activeCritText1,#mermaid-svg-OgEhNm0ct67x2FVP .activeCritText2,#mermaid-svg-OgEhNm0ct67x2FVP .activeCritText3{fill:#000 !important}#mermaid-svg-OgEhNm0ct67x2FVP .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP g.classGroup text{fill:#9370db;stroke:none;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:10px}#mermaid-svg-OgEhNm0ct67x2FVP g.classGroup text .title{font-weight:bolder}#mermaid-svg-OgEhNm0ct67x2FVP g.clickable{cursor:pointer}#mermaid-svg-OgEhNm0ct67x2FVP g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-OgEhNm0ct67x2FVP g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-OgEhNm0ct67x2FVP .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-OgEhNm0ct67x2FVP .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-OgEhNm0ct67x2FVP .dashed-line{stroke-dasharray:3}#mermaid-svg-OgEhNm0ct67x2FVP #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP .commit-id,#mermaid-svg-OgEhNm0ct67x2FVP .commit-msg,#mermaid-svg-OgEhNm0ct67x2FVP .branch-label{fill:lightgrey;color:lightgrey;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP .slice{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-OgEhNm0ct67x2FVP g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-OgEhNm0ct67x2FVP g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-OgEhNm0ct67x2FVP g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-OgEhNm0ct67x2FVP .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-OgEhNm0ct67x2FVP .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-OgEhNm0ct67x2FVP .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-OgEhNm0ct67x2FVP .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-OgEhNm0ct67x2FVP .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-OgEhNm0ct67x2FVP .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-OgEhNm0ct67x2FVP .edgeLabel text{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-OgEhNm0ct67x2FVP .node circle.state-start{fill:black;stroke:black}#mermaid-svg-OgEhNm0ct67x2FVP .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-OgEhNm0ct67x2FVP #statediagram-barbEnd{fill:#9370db}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-state .divider{stroke:#9370db}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-OgEhNm0ct67x2FVP .note-edge{stroke-dasharray:5}#mermaid-svg-OgEhNm0ct67x2FVP .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{–mermaid-font-family: ‘“trebuchet ms”, verdana, arial’;–mermaid-font-family: “Comic Sans MS”, “Comic Sans”, cursive}#mermaid-svg-OgEhNm0ct67x2FVP .error-icon{fill:#522}#mermaid-svg-OgEhNm0ct67x2FVP .error-text{fill:#522;stroke:#522}#mermaid-svg-OgEhNm0ct67x2FVP .edge-thickness-normal{stroke-width:2px}#mermaid-svg-OgEhNm0ct67x2FVP .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-OgEhNm0ct67x2FVP .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-OgEhNm0ct67x2FVP .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-OgEhNm0ct67x2FVP .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-OgEhNm0ct67x2FVP .marker{fill:#333}#mermaid-svg-OgEhNm0ct67x2FVP .marker.cross{stroke:#333}

:root { --mermaid-font-family: “trebuchet ms”, verdana, arial;}
#mermaid-svg-OgEhNm0ct67x2FVP {
color: rgba(0, 0, 0, 0.75);
font: ;
}

Aly

Bob

CofCai

只复习了一部分

没复习

are contacting

明天是要考试吗?

1

好像是的!

2

你复习好了吗?

3

你复习好了吗?

4

我还没准备复习…

5

par

[askA]

[askB]

[self]

我什么时候

开始复习呢?

6

loop

[自问/Every

min]

复习了一点

7

我也是

8

alt

[is good]

[is common]

你们怎么不回答我

9

opt

[Extra

response]

Aly

Bob

CofCai

类图-class diagrams

用于类之间的所属关系表达

classDiagram
	%% Duck继承自Animal
        Animal <|-- Duck
        Animal <|-- Fish
        Animal <|-- Zebra
        %% +即public;-即private;#即protected;~即Package/Internal
        Animal : +int age
        Animal : +String gender
        %% 返回值类型,在括号后面加,记得要有一个空格
        Animal: +isMammal() bool
        Animal: +mate()
        %% Duck有Animal的属性和方法
        class Duck{
            +String beakColor
            +swim()
            +quack()
        }
        class Fish{
            -int sizeInFeet
            -canEat()
        }
        class Zebra{
            +bool is_wild
            +run(speed)
        }
        Duck <|-- yellowDuck
        class yellowDuck{
        	-string color
        	-int size
        }

#mermaid-svg-kqXGbv5pp7uFhOdV .label{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);fill:#333;color:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .label text{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .node rect,#mermaid-svg-kqXGbv5pp7uFhOdV .node circle,#mermaid-svg-kqXGbv5pp7uFhOdV .node ellipse,#mermaid-svg-kqXGbv5pp7uFhOdV .node polygon,#mermaid-svg-kqXGbv5pp7uFhOdV .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-kqXGbv5pp7uFhOdV .node .label{text-align:center;fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .node.clickable{cursor:pointer}#mermaid-svg-kqXGbv5pp7uFhOdV .arrowheadPath{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-kqXGbv5pp7uFhOdV .flowchart-link{stroke:#333;fill:none}#mermaid-svg-kqXGbv5pp7uFhOdV .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-kqXGbv5pp7uFhOdV .edgeLabel rect{opacity:0.9}#mermaid-svg-kqXGbv5pp7uFhOdV .edgeLabel span{color:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-kqXGbv5pp7uFhOdV .cluster text{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-kqXGbv5pp7uFhOdV .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-kqXGbv5pp7uFhOdV text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-kqXGbv5pp7uFhOdV .actor-line{stroke:grey}#mermaid-svg-kqXGbv5pp7uFhOdV .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-kqXGbv5pp7uFhOdV #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .sequenceNumber{fill:#fff}#mermaid-svg-kqXGbv5pp7uFhOdV #sequencenumber{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV #crosshead path{fill:#333;stroke:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .messageText{fill:#333;stroke:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-kqXGbv5pp7uFhOdV .labelText,#mermaid-svg-kqXGbv5pp7uFhOdV .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-kqXGbv5pp7uFhOdV .loopText,#mermaid-svg-kqXGbv5pp7uFhOdV .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-kqXGbv5pp7uFhOdV .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-kqXGbv5pp7uFhOdV .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-kqXGbv5pp7uFhOdV .noteText,#mermaid-svg-kqXGbv5pp7uFhOdV .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-kqXGbv5pp7uFhOdV .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-kqXGbv5pp7uFhOdV .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-kqXGbv5pp7uFhOdV .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-kqXGbv5pp7uFhOdV .mermaid-main-font{font-family:“trebuchet ms”, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV .section{stroke:none;opacity:0.2}#mermaid-svg-kqXGbv5pp7uFhOdV .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-kqXGbv5pp7uFhOdV .section2{fill:#fff400}#mermaid-svg-kqXGbv5pp7uFhOdV .section1,#mermaid-svg-kqXGbv5pp7uFhOdV .section3{fill:#fff;opacity:0.2}#mermaid-svg-kqXGbv5pp7uFhOdV .sectionTitle0{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .sectionTitle1{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .sectionTitle2{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .sectionTitle3{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-kqXGbv5pp7uFhOdV .grid .tick text{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV .grid path{stroke-width:0}#mermaid-svg-kqXGbv5pp7uFhOdV .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-kqXGbv5pp7uFhOdV .task{stroke-width:2}#mermaid-svg-kqXGbv5pp7uFhOdV .taskText{text-anchor:middle;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV .taskText:not([font-size]){font-size:11px}#mermaid-svg-kqXGbv5pp7uFhOdV .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-kqXGbv5pp7uFhOdV .task.clickable{cursor:pointer}#mermaid-svg-kqXGbv5pp7uFhOdV .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-kqXGbv5pp7uFhOdV .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-kqXGbv5pp7uFhOdV .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-kqXGbv5pp7uFhOdV .taskText0,#mermaid-svg-kqXGbv5pp7uFhOdV .taskText1,#mermaid-svg-kqXGbv5pp7uFhOdV .taskText2,#mermaid-svg-kqXGbv5pp7uFhOdV .taskText3{fill:#fff}#mermaid-svg-kqXGbv5pp7uFhOdV .task0,#mermaid-svg-kqXGbv5pp7uFhOdV .task1,#mermaid-svg-kqXGbv5pp7uFhOdV .task2,#mermaid-svg-kqXGbv5pp7uFhOdV .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-kqXGbv5pp7uFhOdV .taskTextOutside0,#mermaid-svg-kqXGbv5pp7uFhOdV .taskTextOutside2{fill:#000}#mermaid-svg-kqXGbv5pp7uFhOdV .taskTextOutside1,#mermaid-svg-kqXGbv5pp7uFhOdV .taskTextOutside3{fill:#000}#mermaid-svg-kqXGbv5pp7uFhOdV .active0,#mermaid-svg-kqXGbv5pp7uFhOdV .active1,#mermaid-svg-kqXGbv5pp7uFhOdV .active2,#mermaid-svg-kqXGbv5pp7uFhOdV .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-kqXGbv5pp7uFhOdV .activeText0,#mermaid-svg-kqXGbv5pp7uFhOdV .activeText1,#mermaid-svg-kqXGbv5pp7uFhOdV .activeText2,#mermaid-svg-kqXGbv5pp7uFhOdV .activeText3{fill:#000 !important}#mermaid-svg-kqXGbv5pp7uFhOdV .done0,#mermaid-svg-kqXGbv5pp7uFhOdV .done1,#mermaid-svg-kqXGbv5pp7uFhOdV .done2,#mermaid-svg-kqXGbv5pp7uFhOdV .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-kqXGbv5pp7uFhOdV .doneText0,#mermaid-svg-kqXGbv5pp7uFhOdV .doneText1,#mermaid-svg-kqXGbv5pp7uFhOdV .doneText2,#mermaid-svg-kqXGbv5pp7uFhOdV .doneText3{fill:#000 !important}#mermaid-svg-kqXGbv5pp7uFhOdV .crit0,#mermaid-svg-kqXGbv5pp7uFhOdV .crit1,#mermaid-svg-kqXGbv5pp7uFhOdV .crit2,#mermaid-svg-kqXGbv5pp7uFhOdV .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-kqXGbv5pp7uFhOdV .activeCrit0,#mermaid-svg-kqXGbv5pp7uFhOdV .activeCrit1,#mermaid-svg-kqXGbv5pp7uFhOdV .activeCrit2,#mermaid-svg-kqXGbv5pp7uFhOdV .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-kqXGbv5pp7uFhOdV .doneCrit0,#mermaid-svg-kqXGbv5pp7uFhOdV .doneCrit1,#mermaid-svg-kqXGbv5pp7uFhOdV .doneCrit2,#mermaid-svg-kqXGbv5pp7uFhOdV .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-kqXGbv5pp7uFhOdV .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-kqXGbv5pp7uFhOdV .milestoneText{font-style:italic}#mermaid-svg-kqXGbv5pp7uFhOdV .doneCritText0,#mermaid-svg-kqXGbv5pp7uFhOdV .doneCritText1,#mermaid-svg-kqXGbv5pp7uFhOdV .doneCritText2,#mermaid-svg-kqXGbv5pp7uFhOdV .doneCritText3{fill:#000 !important}#mermaid-svg-kqXGbv5pp7uFhOdV .activeCritText0,#mermaid-svg-kqXGbv5pp7uFhOdV .activeCritText1,#mermaid-svg-kqXGbv5pp7uFhOdV .activeCritText2,#mermaid-svg-kqXGbv5pp7uFhOdV .activeCritText3{fill:#000 !important}#mermaid-svg-kqXGbv5pp7uFhOdV .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV g.classGroup text{fill:#9370db;stroke:none;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:10px}#mermaid-svg-kqXGbv5pp7uFhOdV g.classGroup text .title{font-weight:bolder}#mermaid-svg-kqXGbv5pp7uFhOdV g.clickable{cursor:pointer}#mermaid-svg-kqXGbv5pp7uFhOdV g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-kqXGbv5pp7uFhOdV g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-kqXGbv5pp7uFhOdV .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-kqXGbv5pp7uFhOdV .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-kqXGbv5pp7uFhOdV .dashed-line{stroke-dasharray:3}#mermaid-svg-kqXGbv5pp7uFhOdV #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV .commit-id,#mermaid-svg-kqXGbv5pp7uFhOdV .commit-msg,#mermaid-svg-kqXGbv5pp7uFhOdV .branch-label{fill:lightgrey;color:lightgrey;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV .slice{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-kqXGbv5pp7uFhOdV g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-kqXGbv5pp7uFhOdV g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-kqXGbv5pp7uFhOdV g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-kqXGbv5pp7uFhOdV .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-kqXGbv5pp7uFhOdV .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-kqXGbv5pp7uFhOdV .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-kqXGbv5pp7uFhOdV .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-kqXGbv5pp7uFhOdV .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-kqXGbv5pp7uFhOdV .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-kqXGbv5pp7uFhOdV .edgeLabel text{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-kqXGbv5pp7uFhOdV .node circle.state-start{fill:black;stroke:black}#mermaid-svg-kqXGbv5pp7uFhOdV .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-kqXGbv5pp7uFhOdV #statediagram-barbEnd{fill:#9370db}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-state .divider{stroke:#9370db}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-kqXGbv5pp7uFhOdV .note-edge{stroke-dasharray:5}#mermaid-svg-kqXGbv5pp7uFhOdV .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{–mermaid-font-family: ‘“trebuchet ms”, verdana, arial’;–mermaid-font-family: “Comic Sans MS”, “Comic Sans”, cursive}#mermaid-svg-kqXGbv5pp7uFhOdV .error-icon{fill:#522}#mermaid-svg-kqXGbv5pp7uFhOdV .error-text{fill:#522;stroke:#522}#mermaid-svg-kqXGbv5pp7uFhOdV .edge-thickness-normal{stroke-width:2px}#mermaid-svg-kqXGbv5pp7uFhOdV .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-kqXGbv5pp7uFhOdV .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-kqXGbv5pp7uFhOdV .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-kqXGbv5pp7uFhOdV .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-kqXGbv5pp7uFhOdV .marker{fill:#333}#mermaid-svg-kqXGbv5pp7uFhOdV .marker.cross{stroke:#333}

:root { --mermaid-font-family: “trebuchet ms”, verdana, arial;}
#mermaid-svg-kqXGbv5pp7uFhOdV {
color: rgba(0, 0, 0, 0.75);
font: ;
}

Animal

+int age

+String gender

+isMammal() : bool

+mate()

Duck

+String beakColor

+swim()

+quack()

Fish

-int sizeInFeet

-canEat()

Zebra

+bool is_wild

+run(speed)

yellowDuck

-string color

-int size

类之间的关系

classDiagram
	%% [classA][Arrow][ClassB]:LabelText
        classA --|> classB : Inheritance
        classC --\* classD : Composition
        classE --o classF : Aggregation
        classG --> classH : Association
        classI -- classJ : Link(Solid)
        classK ..> classL : Dependency
        classM ..|> classN : Realization
        classO .. classP : Link(Dashed)

#mermaid-svg-sf1rMVDcdcyrNDDr .label{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);fill:#333;color:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .label text{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .node rect,#mermaid-svg-sf1rMVDcdcyrNDDr .node circle,#mermaid-svg-sf1rMVDcdcyrNDDr .node ellipse,#mermaid-svg-sf1rMVDcdcyrNDDr .node polygon,#mermaid-svg-sf1rMVDcdcyrNDDr .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-sf1rMVDcdcyrNDDr .node .label{text-align:center;fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .node.clickable{cursor:pointer}#mermaid-svg-sf1rMVDcdcyrNDDr .arrowheadPath{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-sf1rMVDcdcyrNDDr .flowchart-link{stroke:#333;fill:none}#mermaid-svg-sf1rMVDcdcyrNDDr .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-sf1rMVDcdcyrNDDr .edgeLabel rect{opacity:0.9}#mermaid-svg-sf1rMVDcdcyrNDDr .edgeLabel span{color:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-sf1rMVDcdcyrNDDr .cluster text{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-sf1rMVDcdcyrNDDr .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-sf1rMVDcdcyrNDDr text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-sf1rMVDcdcyrNDDr .actor-line{stroke:grey}#mermaid-svg-sf1rMVDcdcyrNDDr .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-sf1rMVDcdcyrNDDr #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .sequenceNumber{fill:#fff}#mermaid-svg-sf1rMVDcdcyrNDDr #sequencenumber{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr #crosshead path{fill:#333;stroke:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .messageText{fill:#333;stroke:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-sf1rMVDcdcyrNDDr .labelText,#mermaid-svg-sf1rMVDcdcyrNDDr .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-sf1rMVDcdcyrNDDr .loopText,#mermaid-svg-sf1rMVDcdcyrNDDr .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-sf1rMVDcdcyrNDDr .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-sf1rMVDcdcyrNDDr .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-sf1rMVDcdcyrNDDr .noteText,#mermaid-svg-sf1rMVDcdcyrNDDr .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-sf1rMVDcdcyrNDDr .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-sf1rMVDcdcyrNDDr .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-sf1rMVDcdcyrNDDr .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-sf1rMVDcdcyrNDDr .mermaid-main-font{font-family:“trebuchet ms”, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr .section{stroke:none;opacity:0.2}#mermaid-svg-sf1rMVDcdcyrNDDr .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-sf1rMVDcdcyrNDDr .section2{fill:#fff400}#mermaid-svg-sf1rMVDcdcyrNDDr .section1,#mermaid-svg-sf1rMVDcdcyrNDDr .section3{fill:#fff;opacity:0.2}#mermaid-svg-sf1rMVDcdcyrNDDr .sectionTitle0{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .sectionTitle1{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .sectionTitle2{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .sectionTitle3{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-sf1rMVDcdcyrNDDr .grid .tick text{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr .grid path{stroke-width:0}#mermaid-svg-sf1rMVDcdcyrNDDr .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-sf1rMVDcdcyrNDDr .task{stroke-width:2}#mermaid-svg-sf1rMVDcdcyrNDDr .taskText{text-anchor:middle;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr .taskText:not([font-size]){font-size:11px}#mermaid-svg-sf1rMVDcdcyrNDDr .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-sf1rMVDcdcyrNDDr .task.clickable{cursor:pointer}#mermaid-svg-sf1rMVDcdcyrNDDr .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-sf1rMVDcdcyrNDDr .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-sf1rMVDcdcyrNDDr .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-sf1rMVDcdcyrNDDr .taskText0,#mermaid-svg-sf1rMVDcdcyrNDDr .taskText1,#mermaid-svg-sf1rMVDcdcyrNDDr .taskText2,#mermaid-svg-sf1rMVDcdcyrNDDr .taskText3{fill:#fff}#mermaid-svg-sf1rMVDcdcyrNDDr .task0,#mermaid-svg-sf1rMVDcdcyrNDDr .task1,#mermaid-svg-sf1rMVDcdcyrNDDr .task2,#mermaid-svg-sf1rMVDcdcyrNDDr .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-sf1rMVDcdcyrNDDr .taskTextOutside0,#mermaid-svg-sf1rMVDcdcyrNDDr .taskTextOutside2{fill:#000}#mermaid-svg-sf1rMVDcdcyrNDDr .taskTextOutside1,#mermaid-svg-sf1rMVDcdcyrNDDr .taskTextOutside3{fill:#000}#mermaid-svg-sf1rMVDcdcyrNDDr .active0,#mermaid-svg-sf1rMVDcdcyrNDDr .active1,#mermaid-svg-sf1rMVDcdcyrNDDr .active2,#mermaid-svg-sf1rMVDcdcyrNDDr .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-sf1rMVDcdcyrNDDr .activeText0,#mermaid-svg-sf1rMVDcdcyrNDDr .activeText1,#mermaid-svg-sf1rMVDcdcyrNDDr .activeText2,#mermaid-svg-sf1rMVDcdcyrNDDr .activeText3{fill:#000 !important}#mermaid-svg-sf1rMVDcdcyrNDDr .done0,#mermaid-svg-sf1rMVDcdcyrNDDr .done1,#mermaid-svg-sf1rMVDcdcyrNDDr .done2,#mermaid-svg-sf1rMVDcdcyrNDDr .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-sf1rMVDcdcyrNDDr .doneText0,#mermaid-svg-sf1rMVDcdcyrNDDr .doneText1,#mermaid-svg-sf1rMVDcdcyrNDDr .doneText2,#mermaid-svg-sf1rMVDcdcyrNDDr .doneText3{fill:#000 !important}#mermaid-svg-sf1rMVDcdcyrNDDr .crit0,#mermaid-svg-sf1rMVDcdcyrNDDr .crit1,#mermaid-svg-sf1rMVDcdcyrNDDr .crit2,#mermaid-svg-sf1rMVDcdcyrNDDr .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-sf1rMVDcdcyrNDDr .activeCrit0,#mermaid-svg-sf1rMVDcdcyrNDDr .activeCrit1,#mermaid-svg-sf1rMVDcdcyrNDDr .activeCrit2,#mermaid-svg-sf1rMVDcdcyrNDDr .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-sf1rMVDcdcyrNDDr .doneCrit0,#mermaid-svg-sf1rMVDcdcyrNDDr .doneCrit1,#mermaid-svg-sf1rMVDcdcyrNDDr .doneCrit2,#mermaid-svg-sf1rMVDcdcyrNDDr .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-sf1rMVDcdcyrNDDr .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-sf1rMVDcdcyrNDDr .milestoneText{font-style:italic}#mermaid-svg-sf1rMVDcdcyrNDDr .doneCritText0,#mermaid-svg-sf1rMVDcdcyrNDDr .doneCritText1,#mermaid-svg-sf1rMVDcdcyrNDDr .doneCritText2,#mermaid-svg-sf1rMVDcdcyrNDDr .doneCritText3{fill:#000 !important}#mermaid-svg-sf1rMVDcdcyrNDDr .activeCritText0,#mermaid-svg-sf1rMVDcdcyrNDDr .activeCritText1,#mermaid-svg-sf1rMVDcdcyrNDDr .activeCritText2,#mermaid-svg-sf1rMVDcdcyrNDDr .activeCritText3{fill:#000 !important}#mermaid-svg-sf1rMVDcdcyrNDDr .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr g.classGroup text{fill:#9370db;stroke:none;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:10px}#mermaid-svg-sf1rMVDcdcyrNDDr g.classGroup text .title{font-weight:bolder}#mermaid-svg-sf1rMVDcdcyrNDDr g.clickable{cursor:pointer}#mermaid-svg-sf1rMVDcdcyrNDDr g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-sf1rMVDcdcyrNDDr g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-sf1rMVDcdcyrNDDr .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-sf1rMVDcdcyrNDDr .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-sf1rMVDcdcyrNDDr .dashed-line{stroke-dasharray:3}#mermaid-svg-sf1rMVDcdcyrNDDr #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr .commit-id,#mermaid-svg-sf1rMVDcdcyrNDDr .commit-msg,#mermaid-svg-sf1rMVDcdcyrNDDr .branch-label{fill:lightgrey;color:lightgrey;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr .slice{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-sf1rMVDcdcyrNDDr g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-sf1rMVDcdcyrNDDr g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-sf1rMVDcdcyrNDDr g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-sf1rMVDcdcyrNDDr .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-sf1rMVDcdcyrNDDr .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-sf1rMVDcdcyrNDDr .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-sf1rMVDcdcyrNDDr .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-sf1rMVDcdcyrNDDr .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-sf1rMVDcdcyrNDDr .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-sf1rMVDcdcyrNDDr .edgeLabel text{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-sf1rMVDcdcyrNDDr .node circle.state-start{fill:black;stroke:black}#mermaid-svg-sf1rMVDcdcyrNDDr .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-sf1rMVDcdcyrNDDr #statediagram-barbEnd{fill:#9370db}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-state .divider{stroke:#9370db}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-sf1rMVDcdcyrNDDr .note-edge{stroke-dasharray:5}#mermaid-svg-sf1rMVDcdcyrNDDr .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{–mermaid-font-family: ‘“trebuchet ms”, verdana, arial’;–mermaid-font-family: “Comic Sans MS”, “Comic Sans”, cursive}#mermaid-svg-sf1rMVDcdcyrNDDr .error-icon{fill:#522}#mermaid-svg-sf1rMVDcdcyrNDDr .error-text{fill:#522;stroke:#522}#mermaid-svg-sf1rMVDcdcyrNDDr .edge-thickness-normal{stroke-width:2px}#mermaid-svg-sf1rMVDcdcyrNDDr .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-sf1rMVDcdcyrNDDr .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-sf1rMVDcdcyrNDDr .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-sf1rMVDcdcyrNDDr .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-sf1rMVDcdcyrNDDr .marker{fill:#333}#mermaid-svg-sf1rMVDcdcyrNDDr .marker.cross{stroke:#333}

:root { --mermaid-font-family: “trebuchet ms”, verdana, arial;}
#mermaid-svg-sf1rMVDcdcyrNDDr {
color: rgba(0, 0, 0, 0.75);
font: ;
}

classA

classB

classC

classD

classE

classF

classG

classH

classI

classJ

classK

classL

classM

classN

classO

classP

Inheritance

Composition

Aggregation

Association

Link(Solid)

Dependency

Realization

Link(Dashed)

类注释

  • <<Interface>> To represent an Interface class:接口类
  • <<abstract>> To represent an abstract class:抽象类

img
img

网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。

需要这份系统化的资料的朋友,可以添加戳这里获取

一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

rNDDr .marker.cross{stroke:#333}

:root { --mermaid-font-family: “trebuchet ms”, verdana, arial;}
#mermaid-svg-sf1rMVDcdcyrNDDr {
color: rgba(0, 0, 0, 0.75);
font: ;
}

classA

classB

classC

classD

classE

classF

classG

classH

classI

classJ

classK

classL

classM

classN

classO

classP

Inheritance

Composition

Aggregation

Association

Link(Solid)

Dependency

Realization

Link(Dashed)

类注释

  • <<Interface>> To represent an Interface class:接口类
  • <<abstract>> To represent an abstract class:抽象类

[外链图片转存中…(img-mryXDhqy-1715528900073)]
[外链图片转存中…(img-35VIHcAT-1715528900074)]

网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。

需要这份系统化的资料的朋友,可以添加戳这里获取

一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值