Spring框架

这是一个低侵入式的框架
Spring的两大核心
①IOC ----翻转控制,又叫DI(依赖注入)
翻转了资源提供的方向,原先创建对象是由程序员自己手动完成的,现在翻转为由Spring提前创建好,当需要使用的时候,就可以直接使用。
②:AOP---- 面向切面的编程
所有各个模块中与业务逻辑无关的部分,都可以统一抽取出来,做成一个横切面,然后切入所有的模块,程序员只需要关注业务逻辑的编写即可。

代码如下:
实体类代码:

package com.iweb.pojo;import lombok.Data;@Data
public class Student {private int sno;private String sname;@Overridepublic String toString() {return "Student{" +"sno=" + sno +", sname='" + sname + '\'' +'}';}
}

applicationContext.xml配置文件的代码是:

<beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:context="http://www.springframework.org/schema/context"xmlns:aop="http://www.springframework.org/schema/aop"xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">
<bean class="com.iweb.pojo.Student" id="student"><property name="sno" value="001"></property><property name="sname" value="小红"></property>
</bean>
</beans>

测试类代码如下:

package com.iweb.test;import com.iweb.pojo.Student;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;public class testStudent {public static void main(String[] args) {//通过Spring获取ApplicationContext对象ApplicationContext ac=new ClassPathXmlApplicationContext("META-INF/applicationContext.xml");//通过getBean方法得到实体类Student s=(Student) ac.getBean("student");System.out.println(s);}
}


ref属性
ApplicationContext.xml配置文件中应该添加:
2.在spring的标签中可以调用有参的构造发放来创建对象,name属性对应参数名,value属性对应属性值

3.context scan 扫描器
一二三对应如下:

3.静态工厂方法
我们可以将对象创建的过程封装起来,做成一个工厂类,在工厂类中我们编写静态代码块来创建对象并存入工厂类中的集合属性,然后提供一个公共的public的工厂方法来根据指定的值获取对应的生产对象,spring的IOC日期中标签可以表示工厂返回的产品对象,class属性指向工厂类,factory-method属性工厂方法的名字,在bean标签下,constructor-arg表示工厂方法需要传入的参数,name指向参数名,value指向参数值

4.实例工厂方法
我们在工厂类的构造方法中创建对象,存入集合,在工厂方法中根据条件返回集合的产品对象
在Spring的IOC容器中,首先编写工厂的创建工厂
然后编写产品的标签的factory-method指向工厂方法
指向工厂方法的参数
工厂方法的具体代码:

IOC配置文件里:

   <bean id="factory2" class="com.iweb.pojo.InstanceCarFactory"></bean><bean id="car2" factory-bean="factory2" factory-method="getCar"><constructor-arg name="name" value="v01"></constructor-arg></bean>

实例工厂类的代码:

package com.iweb.pojo;import java.util.HashMap;
import java.util.Map;public class InstanceCarFactory {private Map<String,Car> cars=new HashMap<>();public InstanceCarFactory(){cars.put("v01",new Car("volvo",33));cars.put("b01",new Car("BWM",35));}public Car getCar(String name){return cars.get(name);}}


12.单例模式、工厂模式、代理模式
代理模式:在编码的工厂中,可以将主体业务逻辑封装起来,多外可以调用主体业务逻辑的代理对象,代理对象额外可以处理主体业务周边相关的其他事情。
在编码的过程中,将业务逻辑定义成接口,主题类和代理类同时实现该接口,并重写业务方法,代理类的方法中调用主体类的方法,并添加周边相关业务。使用者只需要调用代理对象的方法,即可完成全部的业务逻辑。

AOP:
13.使用配置文件实现AOP的步骤:
前提:下载spring相关jar包,以及spring-aop和spring-aspects包
①创建纯净的业务逻辑类

②创建一个通知类,实现MethodBeforeAdvice接口表示前置通知,并重写前置通知中需要的处理代码

③配置spring的容器,添加aop的命名空间和验证文件,添加aop:config表示配置一个aop
该标签中含有:
aop:pointcut表示切点
expression表示切点指示符,用来匹配方法名,通常指向某个类下的具体方法,*表示所有方法
aop:advisor–定义通知器
advice-ref属性表示引入通知类的bean
point-ref表示引入一个切点

   <aop:config><aop:pointcut id="pointcut" expression="execution(* com.iweb.Service.ProductServiceImpl.*(..))"/><!--这两个类都是我们为指定的切点服务的--><aop:advisor advice-ref="Log" pointcut-ref="pointcut"/><aop:advisor advice-ref="afterlog" pointcut-ref="pointcut"/></aop:config>

④创建测试类进行测试

代理模式:

给某一个代理对象 提供一个代理对象 并且由代理

  1. 静态代理:

接口 代理业务需求
接口的实现类 被代理类 代表实际的业务需求
中介类 根据传入的不同被代理类对象进行不同的业务操作

  1. 动态代理:字节码重组
    1.先获取被代理对象的引用,并获取他的所有接口,通过反射获取
    2.通过JDK Proxy类重新生成新的类,新的类要实现被代理类所有实现的所有接口
    3.动态生成java代码 把新加的业务逻辑方法由一定的逻辑代码去调用
    4.编译新生成的和Java代码.class
    5.在jvm中记载运行

这里写自定义目录标题

    • Spring框架
    • 代理模式:
  • 欢迎使用Markdown编辑器
    • 新的改变
    • 功能快捷键
    • 合理的创建标题,有助于目录的生成
    • 如何改变文本的样式
    • 插入链接与图片
    • 如何插入一段漂亮的代码片
    • 生成一个适合你的列表
    • 创建一个表格
      • 设定内容居中、居左、居右
      • SmartyPants
    • 创建一个自定义列表
    • 如何创建一个注脚
    • 注释也是必不可少的
    • KaTeX数学公式
    • 新的甘特图功能,丰富你的文章
    • UML 图表
    • FLowchart流程图
    • 导出与导入
      • 导出
      • 导入

欢迎使用Markdown编辑器

你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。

新的改变

我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:

  1. 全新的界面设计 ,将会带来全新的写作体验;
  2. 在创作中心设置你喜爱的代码高亮样式,Markdown 将代码片显示选择的高亮样式 进行展示;
  3. 增加了 图片拖拽 功能,你可以将本地的图片直接拖拽到编辑区域直接展示;
  4. 全新的 KaTeX数学公式 语法;
  5. 增加了支持甘特图的mermaid语法1 功能;
  6. 增加了 多屏幕编辑 Markdown文章功能;
  7. 增加了 焦点写作模式、预览模式、简洁写作模式、左右区域同步滚轮设置 等功能,功能按钮位于编辑区域与预览区域中间;
  8. 增加了 检查列表 功能。

功能快捷键

撤销: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';

生成一个适合你的列表

  • 项目

    • 项目

      • 项目
  1. 项目1
  2. 项目2
  3. 项目3
  • 计划任务
  • 完成任务

创建一个表格

一个简单的表格是这么创建的:

项目 Value
电脑 $1600
手机 $12
导管 $1

设定内容居中、居左、居右

使用:---------:居中
使用:----------居左
使用----------:居右

第一列 第二列 第三列
第一列文本居中 第二列文本居右 第三列文本居左

SmartyPants

SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:

TYPE ASCII HTML
Single 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

创建一个自定义列表

Markdown
Text-to-HTML conversion tool
Authors
John
Luke

如何创建一个注脚

一个具有注脚的文本。2

注释也是必不可少的

Markdown将文本转换为 HTML

KaTeX数学公式

您可以使用渲染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∞tz−1e−tdt.\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. Γ(z)=∫0∞​tz−1e−tdt.

你可以找到更多关于的信息 LaTeX 数学表达式here.

新的甘特图功能,丰富你的文章

Mon 06Mon 13Mon 20已完成 进行中 计划一 计划二 现有任务Adding GANTT diagram functionality to mermaid
  • 关于 甘特图 语法,参考 这儿,

UML 图表

可以使用UML图表进行渲染。 Mermaid. 例如下面产生的一个序列图:

#mermaid-svg-Po3UnwpjYAUlVIVT .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .label text{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .node rect,#mermaid-svg-Po3UnwpjYAUlVIVT .node circle,#mermaid-svg-Po3UnwpjYAUlVIVT .node ellipse,#mermaid-svg-Po3UnwpjYAUlVIVT .node polygon,#mermaid-svg-Po3UnwpjYAUlVIVT .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-Po3UnwpjYAUlVIVT .node .label{text-align:center;fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .node.clickable{cursor:pointer}#mermaid-svg-Po3UnwpjYAUlVIVT .arrowheadPath{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-Po3UnwpjYAUlVIVT .flowchart-link{stroke:#333;fill:none}#mermaid-svg-Po3UnwpjYAUlVIVT .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-Po3UnwpjYAUlVIVT .edgeLabel rect{opacity:0.9}#mermaid-svg-Po3UnwpjYAUlVIVT .edgeLabel span{color:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-Po3UnwpjYAUlVIVT .cluster text{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT 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-Po3UnwpjYAUlVIVT .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-Po3UnwpjYAUlVIVT text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-Po3UnwpjYAUlVIVT .actor-line{stroke:grey}#mermaid-svg-Po3UnwpjYAUlVIVT .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-Po3UnwpjYAUlVIVT #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .sequenceNumber{fill:#fff}#mermaid-svg-Po3UnwpjYAUlVIVT #sequencenumber{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT #crosshead path{fill:#333;stroke:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .messageText{fill:#333;stroke:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-Po3UnwpjYAUlVIVT .labelText,#mermaid-svg-Po3UnwpjYAUlVIVT .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-Po3UnwpjYAUlVIVT .loopText,#mermaid-svg-Po3UnwpjYAUlVIVT .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-Po3UnwpjYAUlVIVT .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-Po3UnwpjYAUlVIVT .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-Po3UnwpjYAUlVIVT .noteText,#mermaid-svg-Po3UnwpjYAUlVIVT .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-Po3UnwpjYAUlVIVT .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-Po3UnwpjYAUlVIVT .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-Po3UnwpjYAUlVIVT .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-Po3UnwpjYAUlVIVT .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT .section{stroke:none;opacity:0.2}#mermaid-svg-Po3UnwpjYAUlVIVT .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-Po3UnwpjYAUlVIVT .section2{fill:#fff400}#mermaid-svg-Po3UnwpjYAUlVIVT .section1,#mermaid-svg-Po3UnwpjYAUlVIVT .section3{fill:#fff;opacity:0.2}#mermaid-svg-Po3UnwpjYAUlVIVT .sectionTitle0{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .sectionTitle1{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .sectionTitle2{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .sectionTitle3{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-Po3UnwpjYAUlVIVT .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT .grid path{stroke-width:0}#mermaid-svg-Po3UnwpjYAUlVIVT .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-Po3UnwpjYAUlVIVT .task{stroke-width:2}#mermaid-svg-Po3UnwpjYAUlVIVT .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT .taskText:not([font-size]){font-size:11px}#mermaid-svg-Po3UnwpjYAUlVIVT .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-Po3UnwpjYAUlVIVT .task.clickable{cursor:pointer}#mermaid-svg-Po3UnwpjYAUlVIVT .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-Po3UnwpjYAUlVIVT .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-Po3UnwpjYAUlVIVT .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-Po3UnwpjYAUlVIVT .taskText0,#mermaid-svg-Po3UnwpjYAUlVIVT .taskText1,#mermaid-svg-Po3UnwpjYAUlVIVT .taskText2,#mermaid-svg-Po3UnwpjYAUlVIVT .taskText3{fill:#fff}#mermaid-svg-Po3UnwpjYAUlVIVT .task0,#mermaid-svg-Po3UnwpjYAUlVIVT .task1,#mermaid-svg-Po3UnwpjYAUlVIVT .task2,#mermaid-svg-Po3UnwpjYAUlVIVT .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-Po3UnwpjYAUlVIVT .taskTextOutside0,#mermaid-svg-Po3UnwpjYAUlVIVT .taskTextOutside2{fill:#000}#mermaid-svg-Po3UnwpjYAUlVIVT .taskTextOutside1,#mermaid-svg-Po3UnwpjYAUlVIVT .taskTextOutside3{fill:#000}#mermaid-svg-Po3UnwpjYAUlVIVT .active0,#mermaid-svg-Po3UnwpjYAUlVIVT .active1,#mermaid-svg-Po3UnwpjYAUlVIVT .active2,#mermaid-svg-Po3UnwpjYAUlVIVT .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-Po3UnwpjYAUlVIVT .activeText0,#mermaid-svg-Po3UnwpjYAUlVIVT .activeText1,#mermaid-svg-Po3UnwpjYAUlVIVT .activeText2,#mermaid-svg-Po3UnwpjYAUlVIVT .activeText3{fill:#000 !important}#mermaid-svg-Po3UnwpjYAUlVIVT .done0,#mermaid-svg-Po3UnwpjYAUlVIVT .done1,#mermaid-svg-Po3UnwpjYAUlVIVT .done2,#mermaid-svg-Po3UnwpjYAUlVIVT .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-Po3UnwpjYAUlVIVT .doneText0,#mermaid-svg-Po3UnwpjYAUlVIVT .doneText1,#mermaid-svg-Po3UnwpjYAUlVIVT .doneText2,#mermaid-svg-Po3UnwpjYAUlVIVT .doneText3{fill:#000 !important}#mermaid-svg-Po3UnwpjYAUlVIVT .crit0,#mermaid-svg-Po3UnwpjYAUlVIVT .crit1,#mermaid-svg-Po3UnwpjYAUlVIVT .crit2,#mermaid-svg-Po3UnwpjYAUlVIVT .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-Po3UnwpjYAUlVIVT .activeCrit0,#mermaid-svg-Po3UnwpjYAUlVIVT .activeCrit1,#mermaid-svg-Po3UnwpjYAUlVIVT .activeCrit2,#mermaid-svg-Po3UnwpjYAUlVIVT .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-Po3UnwpjYAUlVIVT .doneCrit0,#mermaid-svg-Po3UnwpjYAUlVIVT .doneCrit1,#mermaid-svg-Po3UnwpjYAUlVIVT .doneCrit2,#mermaid-svg-Po3UnwpjYAUlVIVT .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-Po3UnwpjYAUlVIVT .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-Po3UnwpjYAUlVIVT .milestoneText{font-style:italic}#mermaid-svg-Po3UnwpjYAUlVIVT .doneCritText0,#mermaid-svg-Po3UnwpjYAUlVIVT .doneCritText1,#mermaid-svg-Po3UnwpjYAUlVIVT .doneCritText2,#mermaid-svg-Po3UnwpjYAUlVIVT .doneCritText3{fill:#000 !important}#mermaid-svg-Po3UnwpjYAUlVIVT .activeCritText0,#mermaid-svg-Po3UnwpjYAUlVIVT .activeCritText1,#mermaid-svg-Po3UnwpjYAUlVIVT .activeCritText2,#mermaid-svg-Po3UnwpjYAUlVIVT .activeCritText3{fill:#000 !important}#mermaid-svg-Po3UnwpjYAUlVIVT .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-Po3UnwpjYAUlVIVT g.classGroup text .title{font-weight:bolder}#mermaid-svg-Po3UnwpjYAUlVIVT g.clickable{cursor:pointer}#mermaid-svg-Po3UnwpjYAUlVIVT g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-Po3UnwpjYAUlVIVT g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-Po3UnwpjYAUlVIVT .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-Po3UnwpjYAUlVIVT .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-Po3UnwpjYAUlVIVT .dashed-line{stroke-dasharray:3}#mermaid-svg-Po3UnwpjYAUlVIVT #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT .commit-id,#mermaid-svg-Po3UnwpjYAUlVIVT .commit-msg,#mermaid-svg-Po3UnwpjYAUlVIVT .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-Po3UnwpjYAUlVIVT g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-Po3UnwpjYAUlVIVT g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-Po3UnwpjYAUlVIVT g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-Po3UnwpjYAUlVIVT .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-Po3UnwpjYAUlVIVT .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-Po3UnwpjYAUlVIVT .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-Po3UnwpjYAUlVIVT .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-Po3UnwpjYAUlVIVT .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-Po3UnwpjYAUlVIVT .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-Po3UnwpjYAUlVIVT .edgeLabel text{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Po3UnwpjYAUlVIVT .node circle.state-start{fill:black;stroke:black}#mermaid-svg-Po3UnwpjYAUlVIVT .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-Po3UnwpjYAUlVIVT #statediagram-barbEnd{fill:#9370db}#mermaid-svg-Po3UnwpjYAUlVIVT .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-Po3UnwpjYAUlVIVT .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-Po3UnwpjYAUlVIVT .statediagram-state .divider{stroke:#9370db}#mermaid-svg-Po3UnwpjYAUlVIVT .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-Po3UnwpjYAUlVIVT .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-Po3UnwpjYAUlVIVT .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-Po3UnwpjYAUlVIVT .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-Po3UnwpjYAUlVIVT .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-Po3UnwpjYAUlVIVT .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-Po3UnwpjYAUlVIVT .note-edge{stroke-dasharray:5}#mermaid-svg-Po3UnwpjYAUlVIVT .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-Po3UnwpjYAUlVIVT .error-icon{fill:#522}#mermaid-svg-Po3UnwpjYAUlVIVT .error-text{fill:#522;stroke:#522}#mermaid-svg-Po3UnwpjYAUlVIVT .edge-thickness-normal{stroke-width:2px}#mermaid-svg-Po3UnwpjYAUlVIVT .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-Po3UnwpjYAUlVIVT .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-Po3UnwpjYAUlVIVT .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-Po3UnwpjYAUlVIVT .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-Po3UnwpjYAUlVIVT .marker{fill:#333}#mermaid-svg-Po3UnwpjYAUlVIVT .marker.cross{stroke:#333}:root { --mermaid-font-family: "trebuchet ms", verdana, arial;}#mermaid-svg-Po3UnwpjYAUlVIVT {color: rgba(0, 0, 0, 0.75);font: ;}张三李四王五你好!李四, 最近怎么样?你最近怎么样,王五?我很好,谢谢!我很好,谢谢!李四想了很长时间, 文字太长了不适合放在一行.打量着王五...很好... 王五, 你怎么样?张三李四王五

这将产生一个流程图。:

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

链接
长方形
圆角长方形
菱形
  • 关于 Mermaid 语法,参考 这儿,

FLowchart流程图

我们依旧会支持flowchart的流程图:

Created with Raphaël 2.3.0开始我的操作确认?结束yesno
  • 关于 Flowchart流程图 语法,参考 这儿.

导出与导入

导出

如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 文章导出 ,生成一个.md文件或者.html文件进行本地保存。

导入

如果你想加载一篇你写过的.md文件,在上方工具栏可以选择导入功能进行对应扩展名的文件导入,
继续你的创作。


  1. mermaid语法说明 ↩︎

  2. 注脚的解释 ↩︎

框架D1_Spring相关推荐

  1. ssh(Struts+spring+Hibernate)三大框架整合-简述

    ssh(Struts+spring+Hibernate)三大框架配合使用来开发项目,是目前javaee最流行的开发方式,必须掌握: 注意: 为了稳健起见,每加入一个框架,我们就需要测试一下,必须通过才 ...

  2. Gin 框架学习笔记(03)— 输出响应与渲染

    在 Gin 框架中,对 HTTP 请求可以很方便有多种不同形式的响应.比如响应为 JSON . XML 或者是 HTML 等. ​ Context 的以下方法在 Gin 框架中把内容序列化为不同类型写 ...

  3. Gin 框架学习笔记(02)— 参数自动绑定到结构体

    参数绑定模型可以将请求体自动绑定到结构体中,目前支持绑定的请求类型有 JSON .XML .YAML 和标准表单 form数据 foo=bar&boo=baz 等.换句话说,只要定义好结构体, ...

  4. QT学习之状态机框架

    状态机框架 创建状态机

  5. 【Spring】框架简介

    [Spring]框架简介 Spring是什么 Spring是分层的Java SE/EE应用full-stack轻量级开源框架,以IOC(Inverse Of Control:反转控制)和AOP(Asp ...

  6. 开源自动化机器学习框架

    20211101 在 Airbnb 使用机器学习预测房源的价格 https://blog.csdn.net/weixin_33735077/article/details/87976278?spm=1 ...

  7. Keras框架下的保存模型和加载模型

    在Keras框架下训练深度学习模型时,一般思路是在训练环境下训练出模型,然后拿训练好的模型(即保存模型相应信息的文件)到生产环境下去部署.在训练过程中我们可能会遇到以下情况: 需要运行很长时间的程序在 ...

  8. Adam那么棒,为什么还对SGD念念不忘 (1) —— 一个框架看懂优化算法

    机器学习界有一群炼丹师,他们每天的日常是: 拿来药材(数据),架起八卦炉(模型),点着六味真火(优化算法),就摇着蒲扇等着丹药出炉了. 不过,当过厨子的都知道,同样的食材,同样的菜谱,但火候不一样了, ...

  9. 一个框架看懂优化算法之异同 SGD/AdaGrad/Adam

    Adam那么棒,为什么还对SGD念念不忘 (1) -- 一个框架看懂优化算法 机器学习界有一群炼丹师,他们每天的日常是: 拿来药材(数据),架起八卦炉(模型),点着六味真火(优化算法),就摇着蒲扇等着 ...

最新文章

  1. JAVA SE学习day_07:异常处理、TCP通信
  2. 关于target=标签
  3. frameset小结
  4. 领域模型驱动设计(Domain Driven Design)入门概述
  5. C语言怎样编程分子变化,C语言经典编程(一)
  6. javascript 高级程序设计学习笔记(面向对象的程序设计) 1
  7. 结构型模式—外观模式
  8. ]解决在XP上sqlserver2005客户端安装的问题
  9. oracle菜鸟学习之 复杂的更新语句使用
  10. android 两列菜单,【Android】实战开发之ListView同一个item显示2列的实现方法(仿2列商品列表)...
  11. c语言创造线性表储存复数,《c语言数结构》第02章 线性表.ppt
  12. 一篇关于Content Type的文章
  13. mass种子模块之domready
  14. iview的select联动_render函数渲染的iview中的Select组件如何联动?
  15. 软考高项笔记 | 大数据
  16. MacOS上禁用自动启动Adobe Creative Cloud
  17. Linux shadow文件
  18. keil中设置的flash(irom)的起始地址为0x08000000,这个0x08000000的意义------stm32地址映射图解析
  19. java多态、抽象类和接口
  20. 怎么改图片大小kb像素不变?一键快速修改jpg图片大小?

热门文章

  1. JavaScript中的 弹出窗口
  2. 计算机网络实验三:TCP Tahoe与Reno运行机制对比分析
  3. Resolved [org.springframework.http.converter.HttpMessageNotReadableException: Required request body
  4. 一套前后端分离框架若依SpringBoot+Vue入门实战
  5. Android之 inflate() 方法总结
  6. 硬盘文件无法删除(360强力删除无效)的解决方法
  7. 2022年中高级前端需要学习的25种前端技术栈
  8. css超出部分省略号设置
  9. 【安卓】Kotlin编程语言基础(安卓开发基础)
  10. 项目管理之授权,拿什么信任你,我的兄弟!