一. DBUtils简介
DBUtils是java编程中的数据库操作实用工具,小巧简单实用,
1.对于数据表的读操作,他可以把结果转换成List,Array,Set等java集合,便于程序员操作;
2.对于数据表的写操作,也变得很简单(只需写sql语句)
3.可以使用数据源,使用JNDI,数据库连接池等技术来优化性能–重用已经构建好的数据库连接对象,而不像php,asp那样,费时费力的不断重复的构建和析构这样的对象。
DBUtils包括3个包:
org.apache.commons.dbutils
org.apache.commons.dbutils.handlers
org.apache.commons.dbutils.wrappers
DBUtils封装了对JDBC的操作,简化了JDBC操作,可以少写代码。
org.apache.commons.dbutils
DbUtils 关闭链接等操作
QueryRunner 进行查询的操作
org.apache.commons.dbutils.handlers
ArrayHandler :将ResultSet中第一行的数据转化成对象数组
ArrayListHandler将ResultSet中所有的数据转化成List,List中存放的是Object[]
BeanHandler :将ResultSet中第一行的数据转化成类对象
BeanListHandler :将ResultSet中所有的数据转化成List,List中存放的是类对象
ColumnListHandler :将ResultSet中某一列的数据存成List,List中存放的是Object对象
KeyedHandler :将ResultSet中存成映射,key为某一列对应为Map。Map中存放的是数据
MapHandler :将ResultSet中第一行的数据存成Map映射
MapListHandler :将ResultSet中所有的数据存成List。List中存放的是Map
ScalarHandler :将ResultSet中一条记录的其中某一列的数据存成Object
org.apache.commons.dbutils.wrappers
SqlNullCheckedResultSet :对ResultSet进行操作,改版里面的值
StringTrimmedResultSet :去除ResultSet中中字段的左右空格。Trim()
主要方法:
DbUtils类:启动类
ResultSetHandler接口:转换类型接口
MapListHandler类:实现类,把记录转化成List
BeanListHandler类:实现类,把记录转化成List,使记录为JavaBean类型的对象
Query Runner类:执行SQL语句的类
二. DbUtils使用方法
DbUtils是一个为做一些诸如关闭连接、装载JDBC驱动程序之类的常规工作提供有用方法的类,它里面所有的方法都是静态的。这个类里的重要方法有:
close():DbUtils类提供了三个重载的关闭方法。这些方法检查所提供的参数是不是NULL,
如果不是的话,它们就关闭连接、声明和结果集(ResultSet)。
CloseQuietly:
CloseQuietly这一方法不仅能在连接、声明或者结果集(ResultSet)为NULL情况下避免关闭,还能隐藏一些在程序中抛出的SQLEeception。如果你不想捕捉这些异常的话,这对你是非常有用的。在重载CloseQuietly方法时,特别有用的一个方法是closeQuietly(Connection conn,Statement stmt,ResultSet rs),
这是因为在大多数情况下,连接、声明和结果集(ResultSet)是你要用的三样东西,而且在最后的块你必须关闭它们。使用这一方法,你最后的块就可以只需要调用这一方法即可。
CommitAndCloseQuietly(Connection conn):
这一方法用来提交连接,然后关闭连接,并且在关闭连接时不向上抛出在关闭时发生的一些SQL异常。
LoadDriver(String driveClassName):这一方法装载并注册JDBC驱动程序,如果成功就返回TRUE。
使用这种方法,你不需要去捕捉这个异常ClassNotFoundException。使用loadDrive方法,编码就变得更容易理解,
你也就得到了一个很好的Boolean返回值,这个返回值会告诉你驱动类是不是已经加载成功了。
ResultSetHandler这一接口执行处理一个jaca.sql.ResultSet,将数据转变并处理为任何一种形式,这样有益于其应用而且使用起来更容易。这一组件提供了ArrayHandler, ArrayListHandler, BeanHandler, BeanListHandler, MapHandler, MapListHandler, and ScalarHandler等执行程序。
ResultSetHandler接口提供了一个单独的方法:Object handle (java.sql.ResultSet .rs)。
因此任何ResultSetHandler 的执行需要一个结果集(ResultSet)作为参数传入,然后才能处理这个结果集,再返回一个对象。
因为返回类型是java.lang.Object,所以除了不能返回一个原始的Java类型之外,其它的返回类型并没有什么限制。
如果你发现这七个执行程序中没有任何一个提供了你想要的服务,你可以自己写执行程序并使用它。
QreryRunner
这个类使执行SQL查询简单化了,它与ResultSetHandler串联在一起有效地履行着一些平常的任务,它能够大大减少你所要写的编码。
QueryRunner类提供了两个构造器:其中一个是一个空构造器,另一个则拿一个 javax.sql.DataSource 来作为参数。
因此,在你不用为一个方法提供一个数据库连接来作为参数的情况下,提供给构造器的数据源(DataSource) 被用来获得一个新的连接并将继续进行下去。
这一类中的重要方法包括以下这些:
query(Connection conn, String sql, Object[] params, ResultSetHandler rsh):
这一方法执行一个选择查询,在这个查询中,对象阵列的值被用来作为查询的置换参数。
这一方法内在地处理PreparedStatement 和ResultSet 的创建和关闭。
ResultSetHandler对把从 ResultSet得来的数据转变成一个更容易的或是应用程序特定的格式来使用。
query(String sql, Object[] params, ResultSetHandler rsh):
这几乎与第一种方法一样;唯一的不同在于它不将数据库连接提供给方法,
并且它是从提供给构造器的数据源(DataSource) 或使用的setDAtaSource 方法中重新获得的。
query(Connection conn, String sql, ResultSetHandler rsh):
这执行一个不要参数的选择查询。
update(Connection conn, String sql, Object[] params):
这一方法被用来执行一个插入、更新或删除操作。对象阵列为声明保存着置换参数。
三. 使用遵从以下步骤:
1.加载JDBC驱动程序类,并用DriverManager来得到一个数据库连接conn。
2.实例化 QueryRunner,得到实例化对象qRunner。
qRunner.update()方法,执行增改删的sql命令,
qRunner.query()方法,得到结果集。
own的基本语法知识。
我们对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-O73ZUeDrFKDljLaV .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-O73ZUeDrFKDljLaV .label text{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV .node rect,#mermaid-svg-O73ZUeDrFKDljLaV .node circle,#mermaid-svg-O73ZUeDrFKDljLaV .node ellipse,#mermaid-svg-O73ZUeDrFKDljLaV .node polygon,#mermaid-svg-O73ZUeDrFKDljLaV .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-O73ZUeDrFKDljLaV .node .label{text-align:center;fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV .node.clickable{cursor:pointer}#mermaid-svg-O73ZUeDrFKDljLaV .arrowheadPath{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-O73ZUeDrFKDljLaV .flowchart-link{stroke:#333;fill:none}#mermaid-svg-O73ZUeDrFKDljLaV .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-O73ZUeDrFKDljLaV .edgeLabel rect{opacity:0.9}#mermaid-svg-O73ZUeDrFKDljLaV .edgeLabel span{color:#333}#mermaid-svg-O73ZUeDrFKDljLaV .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-O73ZUeDrFKDljLaV .cluster text{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV 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-O73ZUeDrFKDljLaV .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-O73ZUeDrFKDljLaV text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-O73ZUeDrFKDljLaV .actor-line{stroke:grey}#mermaid-svg-O73ZUeDrFKDljLaV .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-O73ZUeDrFKDljLaV .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-O73ZUeDrFKDljLaV #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-O73ZUeDrFKDljLaV .sequenceNumber{fill:#fff}#mermaid-svg-O73ZUeDrFKDljLaV #sequencenumber{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV #crosshead path{fill:#333;stroke:#333}#mermaid-svg-O73ZUeDrFKDljLaV .messageText{fill:#333;stroke:#333}#mermaid-svg-O73ZUeDrFKDljLaV .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-O73ZUeDrFKDljLaV .labelText,#mermaid-svg-O73ZUeDrFKDljLaV .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-O73ZUeDrFKDljLaV .loopText,#mermaid-svg-O73ZUeDrFKDljLaV .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-O73ZUeDrFKDljLaV .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-O73ZUeDrFKDljLaV .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-O73ZUeDrFKDljLaV .noteText,#mermaid-svg-O73ZUeDrFKDljLaV .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-O73ZUeDrFKDljLaV .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-O73ZUeDrFKDljLaV .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-O73ZUeDrFKDljLaV .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-O73ZUeDrFKDljLaV .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV .section{stroke:none;opacity:0.2}#mermaid-svg-O73ZUeDrFKDljLaV .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-O73ZUeDrFKDljLaV .section2{fill:#fff400}#mermaid-svg-O73ZUeDrFKDljLaV .section1,#mermaid-svg-O73ZUeDrFKDljLaV .section3{fill:#fff;opacity:0.2}#mermaid-svg-O73ZUeDrFKDljLaV .sectionTitle0{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV .sectionTitle1{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV .sectionTitle2{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV .sectionTitle3{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-O73ZUeDrFKDljLaV .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV .grid path{stroke-width:0}#mermaid-svg-O73ZUeDrFKDljLaV .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-O73ZUeDrFKDljLaV .task{stroke-width:2}#mermaid-svg-O73ZUeDrFKDljLaV .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV .taskText:not([font-size]){font-size:11px}#mermaid-svg-O73ZUeDrFKDljLaV .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-O73ZUeDrFKDljLaV .task.clickable{cursor:pointer}#mermaid-svg-O73ZUeDrFKDljLaV .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-O73ZUeDrFKDljLaV .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-O73ZUeDrFKDljLaV .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-O73ZUeDrFKDljLaV .taskText0,#mermaid-svg-O73ZUeDrFKDljLaV .taskText1,#mermaid-svg-O73ZUeDrFKDljLaV .taskText2,#mermaid-svg-O73ZUeDrFKDljLaV .taskText3{fill:#fff}#mermaid-svg-O73ZUeDrFKDljLaV .task0,#mermaid-svg-O73ZUeDrFKDljLaV .task1,#mermaid-svg-O73ZUeDrFKDljLaV .task2,#mermaid-svg-O73ZUeDrFKDljLaV .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-O73ZUeDrFKDljLaV .taskTextOutside0,#mermaid-svg-O73ZUeDrFKDljLaV .taskTextOutside2{fill:#000}#mermaid-svg-O73ZUeDrFKDljLaV .taskTextOutside1,#mermaid-svg-O73ZUeDrFKDljLaV .taskTextOutside3{fill:#000}#mermaid-svg-O73ZUeDrFKDljLaV .active0,#mermaid-svg-O73ZUeDrFKDljLaV .active1,#mermaid-svg-O73ZUeDrFKDljLaV .active2,#mermaid-svg-O73ZUeDrFKDljLaV .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-O73ZUeDrFKDljLaV .activeText0,#mermaid-svg-O73ZUeDrFKDljLaV .activeText1,#mermaid-svg-O73ZUeDrFKDljLaV .activeText2,#mermaid-svg-O73ZUeDrFKDljLaV .activeText3{fill:#000 !important}#mermaid-svg-O73ZUeDrFKDljLaV .done0,#mermaid-svg-O73ZUeDrFKDljLaV .done1,#mermaid-svg-O73ZUeDrFKDljLaV .done2,#mermaid-svg-O73ZUeDrFKDljLaV .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-O73ZUeDrFKDljLaV .doneText0,#mermaid-svg-O73ZUeDrFKDljLaV .doneText1,#mermaid-svg-O73ZUeDrFKDljLaV .doneText2,#mermaid-svg-O73ZUeDrFKDljLaV .doneText3{fill:#000 !important}#mermaid-svg-O73ZUeDrFKDljLaV .crit0,#mermaid-svg-O73ZUeDrFKDljLaV .crit1,#mermaid-svg-O73ZUeDrFKDljLaV .crit2,#mermaid-svg-O73ZUeDrFKDljLaV .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-O73ZUeDrFKDljLaV .activeCrit0,#mermaid-svg-O73ZUeDrFKDljLaV .activeCrit1,#mermaid-svg-O73ZUeDrFKDljLaV .activeCrit2,#mermaid-svg-O73ZUeDrFKDljLaV .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-O73ZUeDrFKDljLaV .doneCrit0,#mermaid-svg-O73ZUeDrFKDljLaV .doneCrit1,#mermaid-svg-O73ZUeDrFKDljLaV .doneCrit2,#mermaid-svg-O73ZUeDrFKDljLaV .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-O73ZUeDrFKDljLaV .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-O73ZUeDrFKDljLaV .milestoneText{font-style:italic}#mermaid-svg-O73ZUeDrFKDljLaV .doneCritText0,#mermaid-svg-O73ZUeDrFKDljLaV .doneCritText1,#mermaid-svg-O73ZUeDrFKDljLaV .doneCritText2,#mermaid-svg-O73ZUeDrFKDljLaV .doneCritText3{fill:#000 !important}#mermaid-svg-O73ZUeDrFKDljLaV .activeCritText0,#mermaid-svg-O73ZUeDrFKDljLaV .activeCritText1,#mermaid-svg-O73ZUeDrFKDljLaV .activeCritText2,#mermaid-svg-O73ZUeDrFKDljLaV .activeCritText3{fill:#000 !important}#mermaid-svg-O73ZUeDrFKDljLaV .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-O73ZUeDrFKDljLaV g.classGroup text .title{font-weight:bolder}#mermaid-svg-O73ZUeDrFKDljLaV g.clickable{cursor:pointer}#mermaid-svg-O73ZUeDrFKDljLaV g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-O73ZUeDrFKDljLaV g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-O73ZUeDrFKDljLaV .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-O73ZUeDrFKDljLaV .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-O73ZUeDrFKDljLaV .dashed-line{stroke-dasharray:3}#mermaid-svg-O73ZUeDrFKDljLaV #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV .commit-id,#mermaid-svg-O73ZUeDrFKDljLaV .commit-msg,#mermaid-svg-O73ZUeDrFKDljLaV .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-O73ZUeDrFKDljLaV g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-O73ZUeDrFKDljLaV g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-O73ZUeDrFKDljLaV g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-O73ZUeDrFKDljLaV .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-O73ZUeDrFKDljLaV .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-O73ZUeDrFKDljLaV .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-O73ZUeDrFKDljLaV .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-O73ZUeDrFKDljLaV .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-O73ZUeDrFKDljLaV .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-O73ZUeDrFKDljLaV .edgeLabel text{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-O73ZUeDrFKDljLaV .node circle.state-start{fill:black;stroke:black}#mermaid-svg-O73ZUeDrFKDljLaV .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-O73ZUeDrFKDljLaV #statediagram-barbEnd{fill:#9370db}#mermaid-svg-O73ZUeDrFKDljLaV .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-O73ZUeDrFKDljLaV .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-O73ZUeDrFKDljLaV .statediagram-state .divider{stroke:#9370db}#mermaid-svg-O73ZUeDrFKDljLaV .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-O73ZUeDrFKDljLaV .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-O73ZUeDrFKDljLaV .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-O73ZUeDrFKDljLaV .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-O73ZUeDrFKDljLaV .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-O73ZUeDrFKDljLaV .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-O73ZUeDrFKDljLaV .note-edge{stroke-dasharray:5}#mermaid-svg-O73ZUeDrFKDljLaV .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-O73ZUeDrFKDljLaV .error-icon{fill:#522}#mermaid-svg-O73ZUeDrFKDljLaV .error-text{fill:#522;stroke:#522}#mermaid-svg-O73ZUeDrFKDljLaV .edge-thickness-normal{stroke-width:2px}#mermaid-svg-O73ZUeDrFKDljLaV .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-O73ZUeDrFKDljLaV .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-O73ZUeDrFKDljLaV .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-O73ZUeDrFKDljLaV .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-O73ZUeDrFKDljLaV .marker{fill:#333}#mermaid-svg-O73ZUeDrFKDljLaV .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-O73ZUeDrFKDljLaV { color: rgba(0, 0, 0, 0.75); font: ; } 张三 李四 王五 你好!李四, 最近怎么样? 你最近怎么样,王五? 我很好,谢谢! 我很好,谢谢! 李四想了很长时间, 文字太长了 不适合放在一行. 打量着王五... 很好... 王五, 你怎么样? 张三 李四 王五这将产生一个流程图。:
#mermaid-svg-sioVG6P6iQGNpLdF .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-sioVG6P6iQGNpLdF .label text{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF .node rect,#mermaid-svg-sioVG6P6iQGNpLdF .node circle,#mermaid-svg-sioVG6P6iQGNpLdF .node ellipse,#mermaid-svg-sioVG6P6iQGNpLdF .node polygon,#mermaid-svg-sioVG6P6iQGNpLdF .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-sioVG6P6iQGNpLdF .node .label{text-align:center;fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF .node.clickable{cursor:pointer}#mermaid-svg-sioVG6P6iQGNpLdF .arrowheadPath{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-sioVG6P6iQGNpLdF .flowchart-link{stroke:#333;fill:none}#mermaid-svg-sioVG6P6iQGNpLdF .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-sioVG6P6iQGNpLdF .edgeLabel rect{opacity:0.9}#mermaid-svg-sioVG6P6iQGNpLdF .edgeLabel span{color:#333}#mermaid-svg-sioVG6P6iQGNpLdF .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-sioVG6P6iQGNpLdF .cluster text{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF 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-sioVG6P6iQGNpLdF .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-sioVG6P6iQGNpLdF text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-sioVG6P6iQGNpLdF .actor-line{stroke:grey}#mermaid-svg-sioVG6P6iQGNpLdF .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-sioVG6P6iQGNpLdF .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-sioVG6P6iQGNpLdF #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-sioVG6P6iQGNpLdF .sequenceNumber{fill:#fff}#mermaid-svg-sioVG6P6iQGNpLdF #sequencenumber{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF #crosshead path{fill:#333;stroke:#333}#mermaid-svg-sioVG6P6iQGNpLdF .messageText{fill:#333;stroke:#333}#mermaid-svg-sioVG6P6iQGNpLdF .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-sioVG6P6iQGNpLdF .labelText,#mermaid-svg-sioVG6P6iQGNpLdF .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-sioVG6P6iQGNpLdF .loopText,#mermaid-svg-sioVG6P6iQGNpLdF .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-sioVG6P6iQGNpLdF .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-sioVG6P6iQGNpLdF .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-sioVG6P6iQGNpLdF .noteText,#mermaid-svg-sioVG6P6iQGNpLdF .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-sioVG6P6iQGNpLdF .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-sioVG6P6iQGNpLdF .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-sioVG6P6iQGNpLdF .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-sioVG6P6iQGNpLdF .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF .section{stroke:none;opacity:0.2}#mermaid-svg-sioVG6P6iQGNpLdF .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-sioVG6P6iQGNpLdF .section2{fill:#fff400}#mermaid-svg-sioVG6P6iQGNpLdF .section1,#mermaid-svg-sioVG6P6iQGNpLdF .section3{fill:#fff;opacity:0.2}#mermaid-svg-sioVG6P6iQGNpLdF .sectionTitle0{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF .sectionTitle1{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF .sectionTitle2{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF .sectionTitle3{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-sioVG6P6iQGNpLdF .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF .grid path{stroke-width:0}#mermaid-svg-sioVG6P6iQGNpLdF .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-sioVG6P6iQGNpLdF .task{stroke-width:2}#mermaid-svg-sioVG6P6iQGNpLdF .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF .taskText:not([font-size]){font-size:11px}#mermaid-svg-sioVG6P6iQGNpLdF .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-sioVG6P6iQGNpLdF .task.clickable{cursor:pointer}#mermaid-svg-sioVG6P6iQGNpLdF .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-sioVG6P6iQGNpLdF .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-sioVG6P6iQGNpLdF .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-sioVG6P6iQGNpLdF .taskText0,#mermaid-svg-sioVG6P6iQGNpLdF .taskText1,#mermaid-svg-sioVG6P6iQGNpLdF .taskText2,#mermaid-svg-sioVG6P6iQGNpLdF .taskText3{fill:#fff}#mermaid-svg-sioVG6P6iQGNpLdF .task0,#mermaid-svg-sioVG6P6iQGNpLdF .task1,#mermaid-svg-sioVG6P6iQGNpLdF .task2,#mermaid-svg-sioVG6P6iQGNpLdF .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-sioVG6P6iQGNpLdF .taskTextOutside0,#mermaid-svg-sioVG6P6iQGNpLdF .taskTextOutside2{fill:#000}#mermaid-svg-sioVG6P6iQGNpLdF .taskTextOutside1,#mermaid-svg-sioVG6P6iQGNpLdF .taskTextOutside3{fill:#000}#mermaid-svg-sioVG6P6iQGNpLdF .active0,#mermaid-svg-sioVG6P6iQGNpLdF .active1,#mermaid-svg-sioVG6P6iQGNpLdF .active2,#mermaid-svg-sioVG6P6iQGNpLdF .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-sioVG6P6iQGNpLdF .activeText0,#mermaid-svg-sioVG6P6iQGNpLdF .activeText1,#mermaid-svg-sioVG6P6iQGNpLdF .activeText2,#mermaid-svg-sioVG6P6iQGNpLdF .activeText3{fill:#000 !important}#mermaid-svg-sioVG6P6iQGNpLdF .done0,#mermaid-svg-sioVG6P6iQGNpLdF .done1,#mermaid-svg-sioVG6P6iQGNpLdF .done2,#mermaid-svg-sioVG6P6iQGNpLdF .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-sioVG6P6iQGNpLdF .doneText0,#mermaid-svg-sioVG6P6iQGNpLdF .doneText1,#mermaid-svg-sioVG6P6iQGNpLdF .doneText2,#mermaid-svg-sioVG6P6iQGNpLdF .doneText3{fill:#000 !important}#mermaid-svg-sioVG6P6iQGNpLdF .crit0,#mermaid-svg-sioVG6P6iQGNpLdF .crit1,#mermaid-svg-sioVG6P6iQGNpLdF .crit2,#mermaid-svg-sioVG6P6iQGNpLdF .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-sioVG6P6iQGNpLdF .activeCrit0,#mermaid-svg-sioVG6P6iQGNpLdF .activeCrit1,#mermaid-svg-sioVG6P6iQGNpLdF .activeCrit2,#mermaid-svg-sioVG6P6iQGNpLdF .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-sioVG6P6iQGNpLdF .doneCrit0,#mermaid-svg-sioVG6P6iQGNpLdF .doneCrit1,#mermaid-svg-sioVG6P6iQGNpLdF .doneCrit2,#mermaid-svg-sioVG6P6iQGNpLdF .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-sioVG6P6iQGNpLdF .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-sioVG6P6iQGNpLdF .milestoneText{font-style:italic}#mermaid-svg-sioVG6P6iQGNpLdF .doneCritText0,#mermaid-svg-sioVG6P6iQGNpLdF .doneCritText1,#mermaid-svg-sioVG6P6iQGNpLdF .doneCritText2,#mermaid-svg-sioVG6P6iQGNpLdF .doneCritText3{fill:#000 !important}#mermaid-svg-sioVG6P6iQGNpLdF .activeCritText0,#mermaid-svg-sioVG6P6iQGNpLdF .activeCritText1,#mermaid-svg-sioVG6P6iQGNpLdF .activeCritText2,#mermaid-svg-sioVG6P6iQGNpLdF .activeCritText3{fill:#000 !important}#mermaid-svg-sioVG6P6iQGNpLdF .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-sioVG6P6iQGNpLdF g.classGroup text .title{font-weight:bolder}#mermaid-svg-sioVG6P6iQGNpLdF g.clickable{cursor:pointer}#mermaid-svg-sioVG6P6iQGNpLdF g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-sioVG6P6iQGNpLdF g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-sioVG6P6iQGNpLdF .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-sioVG6P6iQGNpLdF .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-sioVG6P6iQGNpLdF .dashed-line{stroke-dasharray:3}#mermaid-svg-sioVG6P6iQGNpLdF #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF .commit-id,#mermaid-svg-sioVG6P6iQGNpLdF .commit-msg,#mermaid-svg-sioVG6P6iQGNpLdF .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-sioVG6P6iQGNpLdF g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-sioVG6P6iQGNpLdF g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-sioVG6P6iQGNpLdF g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-sioVG6P6iQGNpLdF .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-sioVG6P6iQGNpLdF .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-sioVG6P6iQGNpLdF .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-sioVG6P6iQGNpLdF .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-sioVG6P6iQGNpLdF .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-sioVG6P6iQGNpLdF .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-sioVG6P6iQGNpLdF .edgeLabel text{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-sioVG6P6iQGNpLdF .node circle.state-start{fill:black;stroke:black}#mermaid-svg-sioVG6P6iQGNpLdF .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-sioVG6P6iQGNpLdF #statediagram-barbEnd{fill:#9370db}#mermaid-svg-sioVG6P6iQGNpLdF .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-sioVG6P6iQGNpLdF .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-sioVG6P6iQGNpLdF .statediagram-state .divider{stroke:#9370db}#mermaid-svg-sioVG6P6iQGNpLdF .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-sioVG6P6iQGNpLdF .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-sioVG6P6iQGNpLdF .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-sioVG6P6iQGNpLdF .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-sioVG6P6iQGNpLdF .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-sioVG6P6iQGNpLdF .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-sioVG6P6iQGNpLdF .note-edge{stroke-dasharray:5}#mermaid-svg-sioVG6P6iQGNpLdF .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-sioVG6P6iQGNpLdF .error-icon{fill:#522}#mermaid-svg-sioVG6P6iQGNpLdF .error-text{fill:#522;stroke:#522}#mermaid-svg-sioVG6P6iQGNpLdF .edge-thickness-normal{stroke-width:2px}#mermaid-svg-sioVG6P6iQGNpLdF .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-sioVG6P6iQGNpLdF .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-sioVG6P6iQGNpLdF .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-sioVG6P6iQGNpLdF .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-sioVG6P6iQGNpLdF .marker{fill:#333}#mermaid-svg-sioVG6P6iQGNpLdF .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-sioVG6P6iQGNpLdF { color: rgba(0, 0, 0, 0.75); font: ; } 链接 长方形 圆 圆角长方形 菱形 关于 Mermaid 语法,参考 这儿,我们依旧会支持flowchart的流程图:
Created with Raphaël 2.2.0 开始 我的操作 确认? 结束 yes no 关于 Flowchart流程图 语法,参考 这儿.如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 文章导出 ,生成一个.md文件或者.html文件进行本地保存。
如果你想加载一篇你写过的.md文件,在上方工具栏可以选择导入功能进行对应扩展名的文件导入, 继续你的创作。
mermaid语法说明 ↩︎
注脚的解释 ↩︎