如何解决强化学习中遇到的输入具有很强的随机性即 input-driven environment的问题,这一问题会导致reward具有非常大的varience,难以判断action的好坏。
论文背景:作者使用强化学习的方法解决视频分辨率自适应选择问题。由于视频分辨率选择受网络带宽变化、视频时长因素影响。不同于游戏场景中state和action分布的有限性和确定性。这些因素具有很强的随机性。
input不仅有state,还有其他参数,如上例中的视频时长和网络带宽
难点:Input varience很大,会影响model对Q值的判断。可能某个action bad,但是有比较好的Input,最后得到比较好的output,model比较难train
常用的方法:
提出input-dependent baseline
我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:
全新的界面设计 ,将会带来全新的写作体验;在创作中心设置你喜爱的代码高亮样式,Markdown 将代码片显示选择的高亮样式 进行展示;增加了 图片拖拽 功能,你可以将本地的图片直接拖拽到编辑区域直接展示;全新的 KaTeX数学公式 语法;增加了支持甘特图的mermaid语法1 功能;增加了 多屏幕编辑 Markdown文章功能;增加了 焦点写作模式、预览模式、简洁写作模式、左右区域同步滚轮设置 等功能,功能按钮位于编辑区域与预览区域中间;增加了 检查列表 功能。撤销:Ctrl/Command + Z 重做:Ctrl/Command + Y 加粗:Ctrl/Command + B 斜体:Ctrl/Command + I 标题:Ctrl/Command + Shift + H 无序列表:Ctrl/Command + Shift + U 有序列表:Ctrl/Command + Shift + O 检查列表:Ctrl/Command + Shift + C 插入代码:Ctrl/Command + Shift + K 插入链接:Ctrl/Command + Shift + L 插入图片:Ctrl/Command + Shift + G 查找:Ctrl/Command + F 替换:Ctrl/Command + G
直接输入1次#,并按下space后,将生成1级标题。 输入2次#,并按下space后,将生成2级标题。 以此类推,我们支持6级标题。有助于使用TOC语法后生成一个完美的目录。
强调文本 强调文本
加粗文本 加粗文本
标记文本
删除文本
引用文本
H2O is是液体。
210 运算结果是 1024.
链接: link.
图片:
带尺寸的图片:
居中的图片:
居中并且带尺寸的图片:
当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。
去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片.
// An highlighted block var foo = 'bar';一个简单的表格是这么创建的:
项目Value电脑$1600手机$12导管$1使用:---------:居中 使用:----------居左 使用----------:居右
第一列第二列第三列第一列文本居中第二列文本居右第三列文本居左SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:
TYPEASCIIHTMLSingle backticks'Isn't this fun?'‘Isn’t this fun?’Quotes"Isn't this fun?"“Isn’t this fun?”Dashes-- is en-dash, --- is em-dash– is en-dash, — is em-dash一个具有注脚的文本。2
Markdown将文本转换为 HTML。
您可以使用渲染LaTeX数学表达式 KaTeX:
Gamma公式展示 Γ ( n ) = ( n − 1 ) ! ∀ n ∈ N \Gamma(n) = (n-1)!\quad\forall n\in\mathbb N Γ(n)=(n−1)!∀n∈N 是通过欧拉积分
Γ ( z ) = ∫ 0 ∞ t z − 1 e − t d t . \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. Γ(z)=∫0∞tz−1e−tdt.
你可以找到更多关于的信息 LaTeX 数学表达式here.
可以使用UML图表进行渲染。 Mermaid. 例如下面产生的一个序列图:
#mermaid-svg-Pkq0U1keslNzTdwB .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-Pkq0U1keslNzTdwB .label text{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB .node rect,#mermaid-svg-Pkq0U1keslNzTdwB .node circle,#mermaid-svg-Pkq0U1keslNzTdwB .node ellipse,#mermaid-svg-Pkq0U1keslNzTdwB .node polygon,#mermaid-svg-Pkq0U1keslNzTdwB .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-Pkq0U1keslNzTdwB .node .label{text-align:center;fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB .node.clickable{cursor:pointer}#mermaid-svg-Pkq0U1keslNzTdwB .arrowheadPath{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-Pkq0U1keslNzTdwB .flowchart-link{stroke:#333;fill:none}#mermaid-svg-Pkq0U1keslNzTdwB .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-Pkq0U1keslNzTdwB .edgeLabel rect{opacity:0.9}#mermaid-svg-Pkq0U1keslNzTdwB .edgeLabel span{color:#333}#mermaid-svg-Pkq0U1keslNzTdwB .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-Pkq0U1keslNzTdwB .cluster text{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB 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-Pkq0U1keslNzTdwB .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-Pkq0U1keslNzTdwB text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-Pkq0U1keslNzTdwB .actor-line{stroke:grey}#mermaid-svg-Pkq0U1keslNzTdwB .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-Pkq0U1keslNzTdwB .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-Pkq0U1keslNzTdwB #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-Pkq0U1keslNzTdwB .sequenceNumber{fill:#fff}#mermaid-svg-Pkq0U1keslNzTdwB #sequencenumber{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB #crosshead path{fill:#333;stroke:#333}#mermaid-svg-Pkq0U1keslNzTdwB .messageText{fill:#333;stroke:#333}#mermaid-svg-Pkq0U1keslNzTdwB .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-Pkq0U1keslNzTdwB .labelText,#mermaid-svg-Pkq0U1keslNzTdwB .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-Pkq0U1keslNzTdwB .loopText,#mermaid-svg-Pkq0U1keslNzTdwB .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-Pkq0U1keslNzTdwB .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-Pkq0U1keslNzTdwB .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-Pkq0U1keslNzTdwB .noteText,#mermaid-svg-Pkq0U1keslNzTdwB .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-Pkq0U1keslNzTdwB .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-Pkq0U1keslNzTdwB .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-Pkq0U1keslNzTdwB .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-Pkq0U1keslNzTdwB .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB .section{stroke:none;opacity:0.2}#mermaid-svg-Pkq0U1keslNzTdwB .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-Pkq0U1keslNzTdwB .section2{fill:#fff400}#mermaid-svg-Pkq0U1keslNzTdwB .section1,#mermaid-svg-Pkq0U1keslNzTdwB .section3{fill:#fff;opacity:0.2}#mermaid-svg-Pkq0U1keslNzTdwB .sectionTitle0{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB .sectionTitle1{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB .sectionTitle2{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB .sectionTitle3{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-Pkq0U1keslNzTdwB .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB .grid path{stroke-width:0}#mermaid-svg-Pkq0U1keslNzTdwB .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-Pkq0U1keslNzTdwB .task{stroke-width:2}#mermaid-svg-Pkq0U1keslNzTdwB .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB .taskText:not([font-size]){font-size:11px}#mermaid-svg-Pkq0U1keslNzTdwB .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-Pkq0U1keslNzTdwB .task.clickable{cursor:pointer}#mermaid-svg-Pkq0U1keslNzTdwB .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-Pkq0U1keslNzTdwB .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-Pkq0U1keslNzTdwB .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-Pkq0U1keslNzTdwB .taskText0,#mermaid-svg-Pkq0U1keslNzTdwB .taskText1,#mermaid-svg-Pkq0U1keslNzTdwB .taskText2,#mermaid-svg-Pkq0U1keslNzTdwB .taskText3{fill:#fff}#mermaid-svg-Pkq0U1keslNzTdwB .task0,#mermaid-svg-Pkq0U1keslNzTdwB .task1,#mermaid-svg-Pkq0U1keslNzTdwB .task2,#mermaid-svg-Pkq0U1keslNzTdwB .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-Pkq0U1keslNzTdwB .taskTextOutside0,#mermaid-svg-Pkq0U1keslNzTdwB .taskTextOutside2{fill:#000}#mermaid-svg-Pkq0U1keslNzTdwB .taskTextOutside1,#mermaid-svg-Pkq0U1keslNzTdwB .taskTextOutside3{fill:#000}#mermaid-svg-Pkq0U1keslNzTdwB .active0,#mermaid-svg-Pkq0U1keslNzTdwB .active1,#mermaid-svg-Pkq0U1keslNzTdwB .active2,#mermaid-svg-Pkq0U1keslNzTdwB .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-Pkq0U1keslNzTdwB .activeText0,#mermaid-svg-Pkq0U1keslNzTdwB .activeText1,#mermaid-svg-Pkq0U1keslNzTdwB .activeText2,#mermaid-svg-Pkq0U1keslNzTdwB .activeText3{fill:#000 !important}#mermaid-svg-Pkq0U1keslNzTdwB .done0,#mermaid-svg-Pkq0U1keslNzTdwB .done1,#mermaid-svg-Pkq0U1keslNzTdwB .done2,#mermaid-svg-Pkq0U1keslNzTdwB .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-Pkq0U1keslNzTdwB .doneText0,#mermaid-svg-Pkq0U1keslNzTdwB .doneText1,#mermaid-svg-Pkq0U1keslNzTdwB .doneText2,#mermaid-svg-Pkq0U1keslNzTdwB .doneText3{fill:#000 !important}#mermaid-svg-Pkq0U1keslNzTdwB .crit0,#mermaid-svg-Pkq0U1keslNzTdwB .crit1,#mermaid-svg-Pkq0U1keslNzTdwB .crit2,#mermaid-svg-Pkq0U1keslNzTdwB .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-Pkq0U1keslNzTdwB .activeCrit0,#mermaid-svg-Pkq0U1keslNzTdwB .activeCrit1,#mermaid-svg-Pkq0U1keslNzTdwB .activeCrit2,#mermaid-svg-Pkq0U1keslNzTdwB .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-Pkq0U1keslNzTdwB .doneCrit0,#mermaid-svg-Pkq0U1keslNzTdwB .doneCrit1,#mermaid-svg-Pkq0U1keslNzTdwB .doneCrit2,#mermaid-svg-Pkq0U1keslNzTdwB .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-Pkq0U1keslNzTdwB .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-Pkq0U1keslNzTdwB .milestoneText{font-style:italic}#mermaid-svg-Pkq0U1keslNzTdwB .doneCritText0,#mermaid-svg-Pkq0U1keslNzTdwB .doneCritText1,#mermaid-svg-Pkq0U1keslNzTdwB .doneCritText2,#mermaid-svg-Pkq0U1keslNzTdwB .doneCritText3{fill:#000 !important}#mermaid-svg-Pkq0U1keslNzTdwB .activeCritText0,#mermaid-svg-Pkq0U1keslNzTdwB .activeCritText1,#mermaid-svg-Pkq0U1keslNzTdwB .activeCritText2,#mermaid-svg-Pkq0U1keslNzTdwB .activeCritText3{fill:#000 !important}#mermaid-svg-Pkq0U1keslNzTdwB .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-Pkq0U1keslNzTdwB g.classGroup text .title{font-weight:bolder}#mermaid-svg-Pkq0U1keslNzTdwB g.clickable{cursor:pointer}#mermaid-svg-Pkq0U1keslNzTdwB g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-Pkq0U1keslNzTdwB g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-Pkq0U1keslNzTdwB .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-Pkq0U1keslNzTdwB .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-Pkq0U1keslNzTdwB .dashed-line{stroke-dasharray:3}#mermaid-svg-Pkq0U1keslNzTdwB #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB .commit-id,#mermaid-svg-Pkq0U1keslNzTdwB .commit-msg,#mermaid-svg-Pkq0U1keslNzTdwB .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-Pkq0U1keslNzTdwB g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-Pkq0U1keslNzTdwB g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-Pkq0U1keslNzTdwB g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-Pkq0U1keslNzTdwB .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-Pkq0U1keslNzTdwB .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-Pkq0U1keslNzTdwB .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-Pkq0U1keslNzTdwB .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-Pkq0U1keslNzTdwB .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-Pkq0U1keslNzTdwB .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-Pkq0U1keslNzTdwB .edgeLabel text{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Pkq0U1keslNzTdwB .node circle.state-start{fill:black;stroke:black}#mermaid-svg-Pkq0U1keslNzTdwB .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-Pkq0U1keslNzTdwB #statediagram-barbEnd{fill:#9370db}#mermaid-svg-Pkq0U1keslNzTdwB .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-Pkq0U1keslNzTdwB .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-Pkq0U1keslNzTdwB .statediagram-state .divider{stroke:#9370db}#mermaid-svg-Pkq0U1keslNzTdwB .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-Pkq0U1keslNzTdwB .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-Pkq0U1keslNzTdwB .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-Pkq0U1keslNzTdwB .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-Pkq0U1keslNzTdwB .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-Pkq0U1keslNzTdwB .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-Pkq0U1keslNzTdwB .note-edge{stroke-dasharray:5}#mermaid-svg-Pkq0U1keslNzTdwB .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-Pkq0U1keslNzTdwB .error-icon{fill:#522}#mermaid-svg-Pkq0U1keslNzTdwB .error-text{fill:#522;stroke:#522}#mermaid-svg-Pkq0U1keslNzTdwB .edge-thickness-normal{stroke-width:2px}#mermaid-svg-Pkq0U1keslNzTdwB .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-Pkq0U1keslNzTdwB .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-Pkq0U1keslNzTdwB .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-Pkq0U1keslNzTdwB .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-Pkq0U1keslNzTdwB .marker{fill:#333}#mermaid-svg-Pkq0U1keslNzTdwB .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-Pkq0U1keslNzTdwB { color: rgba(0, 0, 0, 0.75); font: ; } 张三 李四 王五 你好!李四, 最近怎么样? 你最近怎么样,王五? 我很好,谢谢! 我很好,谢谢! 李四想了很长时间, 文字太长了 不适合放在一行. 打量着王五... 很好... 王五, 你怎么样? 张三 李四 王五这将产生一个流程图。:
#mermaid-svg-SCkmBDah6QnAdkkD .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-SCkmBDah6QnAdkkD .label text{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD .node rect,#mermaid-svg-SCkmBDah6QnAdkkD .node circle,#mermaid-svg-SCkmBDah6QnAdkkD .node ellipse,#mermaid-svg-SCkmBDah6QnAdkkD .node polygon,#mermaid-svg-SCkmBDah6QnAdkkD .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-SCkmBDah6QnAdkkD .node .label{text-align:center;fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD .node.clickable{cursor:pointer}#mermaid-svg-SCkmBDah6QnAdkkD .arrowheadPath{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-SCkmBDah6QnAdkkD .flowchart-link{stroke:#333;fill:none}#mermaid-svg-SCkmBDah6QnAdkkD .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-SCkmBDah6QnAdkkD .edgeLabel rect{opacity:0.9}#mermaid-svg-SCkmBDah6QnAdkkD .edgeLabel span{color:#333}#mermaid-svg-SCkmBDah6QnAdkkD .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-SCkmBDah6QnAdkkD .cluster text{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD 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-SCkmBDah6QnAdkkD .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-SCkmBDah6QnAdkkD text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-SCkmBDah6QnAdkkD .actor-line{stroke:grey}#mermaid-svg-SCkmBDah6QnAdkkD .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-SCkmBDah6QnAdkkD .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-SCkmBDah6QnAdkkD #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-SCkmBDah6QnAdkkD .sequenceNumber{fill:#fff}#mermaid-svg-SCkmBDah6QnAdkkD #sequencenumber{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD #crosshead path{fill:#333;stroke:#333}#mermaid-svg-SCkmBDah6QnAdkkD .messageText{fill:#333;stroke:#333}#mermaid-svg-SCkmBDah6QnAdkkD .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-SCkmBDah6QnAdkkD .labelText,#mermaid-svg-SCkmBDah6QnAdkkD .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-SCkmBDah6QnAdkkD .loopText,#mermaid-svg-SCkmBDah6QnAdkkD .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-SCkmBDah6QnAdkkD .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-SCkmBDah6QnAdkkD .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-SCkmBDah6QnAdkkD .noteText,#mermaid-svg-SCkmBDah6QnAdkkD .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-SCkmBDah6QnAdkkD .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-SCkmBDah6QnAdkkD .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-SCkmBDah6QnAdkkD .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-SCkmBDah6QnAdkkD .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD .section{stroke:none;opacity:0.2}#mermaid-svg-SCkmBDah6QnAdkkD .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-SCkmBDah6QnAdkkD .section2{fill:#fff400}#mermaid-svg-SCkmBDah6QnAdkkD .section1,#mermaid-svg-SCkmBDah6QnAdkkD .section3{fill:#fff;opacity:0.2}#mermaid-svg-SCkmBDah6QnAdkkD .sectionTitle0{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD .sectionTitle1{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD .sectionTitle2{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD .sectionTitle3{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-SCkmBDah6QnAdkkD .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD .grid path{stroke-width:0}#mermaid-svg-SCkmBDah6QnAdkkD .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-SCkmBDah6QnAdkkD .task{stroke-width:2}#mermaid-svg-SCkmBDah6QnAdkkD .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD .taskText:not([font-size]){font-size:11px}#mermaid-svg-SCkmBDah6QnAdkkD .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-SCkmBDah6QnAdkkD .task.clickable{cursor:pointer}#mermaid-svg-SCkmBDah6QnAdkkD .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-SCkmBDah6QnAdkkD .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-SCkmBDah6QnAdkkD .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-SCkmBDah6QnAdkkD .taskText0,#mermaid-svg-SCkmBDah6QnAdkkD .taskText1,#mermaid-svg-SCkmBDah6QnAdkkD .taskText2,#mermaid-svg-SCkmBDah6QnAdkkD .taskText3{fill:#fff}#mermaid-svg-SCkmBDah6QnAdkkD .task0,#mermaid-svg-SCkmBDah6QnAdkkD .task1,#mermaid-svg-SCkmBDah6QnAdkkD .task2,#mermaid-svg-SCkmBDah6QnAdkkD .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-SCkmBDah6QnAdkkD .taskTextOutside0,#mermaid-svg-SCkmBDah6QnAdkkD .taskTextOutside2{fill:#000}#mermaid-svg-SCkmBDah6QnAdkkD .taskTextOutside1,#mermaid-svg-SCkmBDah6QnAdkkD .taskTextOutside3{fill:#000}#mermaid-svg-SCkmBDah6QnAdkkD .active0,#mermaid-svg-SCkmBDah6QnAdkkD .active1,#mermaid-svg-SCkmBDah6QnAdkkD .active2,#mermaid-svg-SCkmBDah6QnAdkkD .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-SCkmBDah6QnAdkkD .activeText0,#mermaid-svg-SCkmBDah6QnAdkkD .activeText1,#mermaid-svg-SCkmBDah6QnAdkkD .activeText2,#mermaid-svg-SCkmBDah6QnAdkkD .activeText3{fill:#000 !important}#mermaid-svg-SCkmBDah6QnAdkkD .done0,#mermaid-svg-SCkmBDah6QnAdkkD .done1,#mermaid-svg-SCkmBDah6QnAdkkD .done2,#mermaid-svg-SCkmBDah6QnAdkkD .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-SCkmBDah6QnAdkkD .doneText0,#mermaid-svg-SCkmBDah6QnAdkkD .doneText1,#mermaid-svg-SCkmBDah6QnAdkkD .doneText2,#mermaid-svg-SCkmBDah6QnAdkkD .doneText3{fill:#000 !important}#mermaid-svg-SCkmBDah6QnAdkkD .crit0,#mermaid-svg-SCkmBDah6QnAdkkD .crit1,#mermaid-svg-SCkmBDah6QnAdkkD .crit2,#mermaid-svg-SCkmBDah6QnAdkkD .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-SCkmBDah6QnAdkkD .activeCrit0,#mermaid-svg-SCkmBDah6QnAdkkD .activeCrit1,#mermaid-svg-SCkmBDah6QnAdkkD .activeCrit2,#mermaid-svg-SCkmBDah6QnAdkkD .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-SCkmBDah6QnAdkkD .doneCrit0,#mermaid-svg-SCkmBDah6QnAdkkD .doneCrit1,#mermaid-svg-SCkmBDah6QnAdkkD .doneCrit2,#mermaid-svg-SCkmBDah6QnAdkkD .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-SCkmBDah6QnAdkkD .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-SCkmBDah6QnAdkkD .milestoneText{font-style:italic}#mermaid-svg-SCkmBDah6QnAdkkD .doneCritText0,#mermaid-svg-SCkmBDah6QnAdkkD .doneCritText1,#mermaid-svg-SCkmBDah6QnAdkkD .doneCritText2,#mermaid-svg-SCkmBDah6QnAdkkD .doneCritText3{fill:#000 !important}#mermaid-svg-SCkmBDah6QnAdkkD .activeCritText0,#mermaid-svg-SCkmBDah6QnAdkkD .activeCritText1,#mermaid-svg-SCkmBDah6QnAdkkD .activeCritText2,#mermaid-svg-SCkmBDah6QnAdkkD .activeCritText3{fill:#000 !important}#mermaid-svg-SCkmBDah6QnAdkkD .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-SCkmBDah6QnAdkkD g.classGroup text .title{font-weight:bolder}#mermaid-svg-SCkmBDah6QnAdkkD g.clickable{cursor:pointer}#mermaid-svg-SCkmBDah6QnAdkkD g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-SCkmBDah6QnAdkkD g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-SCkmBDah6QnAdkkD .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-SCkmBDah6QnAdkkD .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-SCkmBDah6QnAdkkD .dashed-line{stroke-dasharray:3}#mermaid-svg-SCkmBDah6QnAdkkD #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD .commit-id,#mermaid-svg-SCkmBDah6QnAdkkD .commit-msg,#mermaid-svg-SCkmBDah6QnAdkkD .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-SCkmBDah6QnAdkkD g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-SCkmBDah6QnAdkkD g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-SCkmBDah6QnAdkkD g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-SCkmBDah6QnAdkkD .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-SCkmBDah6QnAdkkD .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-SCkmBDah6QnAdkkD .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-SCkmBDah6QnAdkkD .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-SCkmBDah6QnAdkkD .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-SCkmBDah6QnAdkkD .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-SCkmBDah6QnAdkkD .edgeLabel text{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-SCkmBDah6QnAdkkD .node circle.state-start{fill:black;stroke:black}#mermaid-svg-SCkmBDah6QnAdkkD .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-SCkmBDah6QnAdkkD #statediagram-barbEnd{fill:#9370db}#mermaid-svg-SCkmBDah6QnAdkkD .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-SCkmBDah6QnAdkkD .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-SCkmBDah6QnAdkkD .statediagram-state .divider{stroke:#9370db}#mermaid-svg-SCkmBDah6QnAdkkD .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-SCkmBDah6QnAdkkD .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-SCkmBDah6QnAdkkD .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-SCkmBDah6QnAdkkD .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-SCkmBDah6QnAdkkD .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-SCkmBDah6QnAdkkD .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-SCkmBDah6QnAdkkD .note-edge{stroke-dasharray:5}#mermaid-svg-SCkmBDah6QnAdkkD .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-SCkmBDah6QnAdkkD .error-icon{fill:#522}#mermaid-svg-SCkmBDah6QnAdkkD .error-text{fill:#522;stroke:#522}#mermaid-svg-SCkmBDah6QnAdkkD .edge-thickness-normal{stroke-width:2px}#mermaid-svg-SCkmBDah6QnAdkkD .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-SCkmBDah6QnAdkkD .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-SCkmBDah6QnAdkkD .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-SCkmBDah6QnAdkkD .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-SCkmBDah6QnAdkkD .marker{fill:#333}#mermaid-svg-SCkmBDah6QnAdkkD .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-SCkmBDah6QnAdkkD { color: rgba(0, 0, 0, 0.75); font: ; } 链接 长方形 圆 圆角长方形 菱形 关于 Mermaid 语法,参考 这儿,我们依旧会支持flowchart的流程图:
Created with Raphaël 2.2.0 开始 我的操作 确认? 结束 yes no 关于 Flowchart流程图 语法,参考 这儿.如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 文章导出 ,生成一个.md文件或者.html文件进行本地保存。
如果你想加载一篇你写过的.md文件,在上方工具栏可以选择导入功能进行对应扩展名的文件导入, 继续你的创作。
mermaid语法说明 ↩︎
注脚的解释 ↩︎