当前位置: 首页 > news >正文

网站建设 中软广东近期新闻

网站建设 中软,广东近期新闻,网站建设与网站优化,网页设计素材网站大全所有流程图都由节点,几何形状和边缘,箭头或线条组成。mermaid代码定义了这些节点和边缘的制作和交互方式。 它还可以容纳不同的箭头类型、多方向箭头以及与子图之间的链接。 1、流程图的方向 TB - 从上到下TD - 自上而下/与上到下相同BT - 从下到上RL -…

所有流程图都由节点,几何形状和边缘,箭头或线条组成。mermaid代码定义了这些节点和边缘的制作和交互方式。
它还可以容纳不同的箭头类型、多方向箭头以及与子图之间的链接。

1、流程图的方向

  • TB - 从上到下
  • TD - 自上而下/与上到下相同
  • BT - 从下到上
  • RL - 从右到左
  • LR - 从左到右
flowchart TDStart --> Stop
Start
Stop
flowchart LRStart --> Stop
Start
Stop

2、节点形状

  • 具有圆边的节点
flowchart LRid1(This is the text in the box)
This is the text in the box
  • 体育场形节点
flowchart LRid1([This is the text in the box])
This is the text in the box
  • 子例程形状中的节点
flowchart LRid1[[This is the text in the box]]
This is the text in the box
  • 圆柱形节点
flowchart LRid1[(Database)]
Database
  • 圆形节点
flowchart LRid1((This is the text in the circle))
This is the text in the circle
  • 不对称形状的节点
flowchart LRid1>This is the text in the box]
This is the text in the box
  • 菱形
flowchart LRid1{This is the text in the box}
This is the text in the box
  • 六边形节点
flowchart LRid1{{This is the text in the box}}
This is the text in the box
  • 平行四边形
flowchart TDid1[/This is the text in the box/]
This is the text in the box
  • 平行四边形替代
flowchart TDid1[\This is the text in the box\]
This is the text in the box
  • 梯形
flowchart TDA[/Christmas\]
Christmas
  • 梯形替代
flowchart TDB[\Go shopping/]
Go shopping

3、节点之间的链接

节点可以使用链接/边连接。可以具有不同类型的链接或将文本字符串附加到链接。

  • 带箭头的链接
flowchart LRA-->B
A
B
  • 打开的链接
flowchart LRA --- B
A
B
  • 链接上的文字
flowchart LRA-- This is the text! ---B
This is the text!
A
B

flowchart LRA---|This is the text|B
This is the text
A
B
  • 带有箭头和文本的链接
flowchart LRA-->|text|B
text
A
B

flowchart LRA-- text -->B
text
A
B
  • 虚线链接
flowchart LRA-.->B;
A
B
  • 带文本的虚线链接
flowchart LRA-. text .-> B
text
A
B
  • 粗链接
flowchart LRA ==> B
A
B
  • 包含文本的粗链接
flowchart LRA == text ==> B
text
A
B
  • 链式链接
    可以在同一行中声明许多链接,如下所示:
flowchart LRA -- text --> B -- text2 --> C
text
text2
A
B
C

也可以在同一行中声明多个节点链接,如下所示:

flowchart LRa --> b & c--> d
a
b
c
d

以一种非常富有表现力的方式描述依赖项。就像下面的一行:

flowchart TBA & B--> C & D
A
B
C
D

使用基本语法描述相同的关系图,则需要四行

flowchart TBA --> CA --> DB --> CB --> D
A
C
D
B
  • 新的箭头类型
flowchart LRA --o BB --x C
A
B
C
  • 多方向箭头
flowchart LRA o--o BB <--> CC x--x D
A
B
C
D
  • 链接的最小长度
    流程图中的每个节点最终被分配给渲染图中的等级,即根据其链接到的节点分配给垂直或水平级别(取决于流程图方向)。默认情况下,链接可以跨越任意数量的排名,但您可以通过在链接定义中添加额外的短划线来要求任何链接比其他链接长。
    在以下示例中,在从节点 B 到节点 E 的链接中添加了两个额外的短划线,以便它比常规链接跨越两个等级:
flowchart TDA[Start] --> B{Is it?}B -->|Yes| C[OK]C --> D[Rethink]D --> BB ---->|No| E[End]
Yes
No
Start
Is it?
OK
Rethink
End

当链接标签写入链接中间时,必须在链接的右侧添加额外的破折号。以下示例等效于上一个示例:

flowchart TDA[Start] --> B{Is it?}B -- Yes --> C[OK]C --> D[Rethink]D --> BB -- No ----> E[End]
Yes
No
Start
Is it?
OK
Rethink
End
长度123
正常---------
正常箭头–>—>---->
============
粗箭头==>===>====>
-.--. .--…-
带点的箭头-.->-…->-…->

4、 破坏语法的特殊字符

  • 可以将文本放在引号内,以便呈现更复杂的字符。如下例所示:
flowchart LRid1["This is the (text) in the box"]
This is the (text) in the box
  • 用于转义字符的实体代码
    flowchart LRA["A double quote:#quot;"] -->B["A dec char:#9829;"]
A double quote:"
A dec char:♥

5、子图

flowchart TBc1-->a2subgraph onea1-->a2endsubgraph twob1-->b2endsubgraph threec1-->c2end
three
one
c2
c1
two
b2
b1
a2
a1

还可以为子图设置显式 ID

flowchart TBc1-->a2subgraph ide1 [one]a1-->a2end
one
a2
a1
c1

使用graphtype流程图,还可以设置子图的边,如下图所示。

flowchart TBc1-->a2subgraph onea1-->a2endsubgraph twob1-->b2endsubgraph threec1-->c2endone --> twothree --> twotwo --> c2
three
one
c2
c1
two
b2
b1
a2
a1

使用 graphtype 流程图,您可以使用方向语句来设置子图将呈现的方向,如本例所示

flowchart LRsubgraph TOPdirection TBsubgraph B1direction RLi1 -->f1endsubgraph B2direction BTi2 -->f2endendA --> TOP --> BB1 --> B2
TOP
B1
f1
i1
B2
f2
i2
A
B

6、注释

注释可以在流程图中输入,解析器将忽略该流程图。注释需要位于自己的行中,并且必须以(双百分号)开头。注释开始到下一个换行符之后的任何文本都将被视为注释,包括任何流语法%%

flowchart LR
%% this is a comment A -- text --> B{node}A -- text --> B -- text2 --> C
text
text2
A
B
C

7、样式和类

7.1 设置节点样式

flowchart LRid1(Start)-->id2(Stop)style id1 fill:#f9f,stroke:#333,stroke-width:4pxstyle id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
Start
Stop

8、顶点和链接之间有空格且不带分号的图形声明

在图形声明中,语句现在也可以不带分号结尾。在 0.2.16 版本之后,用分号结束图形语句只是可选的。因此,下面的图形声明与图形的旧声明一起也是有效的。
顶点和链接之间允许使用单个空格。但是,顶点与其文本以及链接与其文本之间不应有任何空格。图形声明的旧语法也可以使用,因此这个新功能是可选的,引入以提高可读性。

flowchart LRA[Hard edge] -->|Link text| B(Round edge)B --> C{Decision}C -->|One| D[Result one]C -->|Two| E[Result two]
Link text
One
Two
Hard edge
Round edge
Decision
Result one
Result two

参考:流程图 - 基本语法


文章转载自:
http://wanjiadickeybird.rhmk.cn
http://wanjiaarmlock.rhmk.cn
http://wanjiaphial.rhmk.cn
http://wanjiaattribute.rhmk.cn
http://wanjiavocal.rhmk.cn
http://wanjiatemplate.rhmk.cn
http://wanjiacoltish.rhmk.cn
http://wanjianinny.rhmk.cn
http://wanjiaoliguria.rhmk.cn
http://wanjiakamchatka.rhmk.cn
http://wanjiaoculate.rhmk.cn
http://wanjiasentience.rhmk.cn
http://wanjiameiosis.rhmk.cn
http://wanjiapentyl.rhmk.cn
http://wanjiafairway.rhmk.cn
http://wanjiamartingale.rhmk.cn
http://wanjiamarhawk.rhmk.cn
http://wanjiaunvexed.rhmk.cn
http://wanjiamistletoe.rhmk.cn
http://wanjiapentode.rhmk.cn
http://wanjiayonkers.rhmk.cn
http://wanjiaguardsman.rhmk.cn
http://wanjiariempie.rhmk.cn
http://wanjiaglandulose.rhmk.cn
http://wanjiafraxinella.rhmk.cn
http://wanjiaencarpus.rhmk.cn
http://wanjiasunbird.rhmk.cn
http://wanjiaagedly.rhmk.cn
http://wanjiakraut.rhmk.cn
http://wanjiaoom.rhmk.cn
http://wanjiabadinage.rhmk.cn
http://wanjiaquaggy.rhmk.cn
http://wanjiarobotization.rhmk.cn
http://wanjiahobnailed.rhmk.cn
http://wanjiamegadontia.rhmk.cn
http://wanjiascr.rhmk.cn
http://wanjiainventer.rhmk.cn
http://wanjiapraties.rhmk.cn
http://wanjiatother.rhmk.cn
http://wanjiarhinolalia.rhmk.cn
http://wanjiadiastrophism.rhmk.cn
http://wanjiahashish.rhmk.cn
http://wanjiateutonism.rhmk.cn
http://wanjiawon.rhmk.cn
http://wanjiaautocoid.rhmk.cn
http://wanjiabulltrout.rhmk.cn
http://wanjiahint.rhmk.cn
http://wanjiauntinged.rhmk.cn
http://wanjiabogota.rhmk.cn
http://wanjiaatonable.rhmk.cn
http://wanjiaheteroduplex.rhmk.cn
http://wanjiaaachen.rhmk.cn
http://wanjiarebreathe.rhmk.cn
http://wanjialeisurely.rhmk.cn
http://wanjiagird.rhmk.cn
http://wanjiaarresting.rhmk.cn
http://wanjiasentimentalize.rhmk.cn
http://wanjiasinless.rhmk.cn
http://wanjiaunderproduction.rhmk.cn
http://wanjiatriangle.rhmk.cn
http://wanjiaarguably.rhmk.cn
http://wanjiaaisle.rhmk.cn
http://wanjiasyriam.rhmk.cn
http://wanjiaconcubinal.rhmk.cn
http://wanjialigniperdous.rhmk.cn
http://wanjiapraia.rhmk.cn
http://wanjiatreblinka.rhmk.cn
http://wanjiafiliform.rhmk.cn
http://wanjiabornean.rhmk.cn
http://wanjiababylonish.rhmk.cn
http://wanjiaattractant.rhmk.cn
http://wanjiabristle.rhmk.cn
http://wanjiauneducational.rhmk.cn
http://wanjiadeciliter.rhmk.cn
http://wanjiasemiagricultural.rhmk.cn
http://wanjiarefund.rhmk.cn
http://wanjiaplotty.rhmk.cn
http://wanjiaphotocatalyst.rhmk.cn
http://wanjiadjellaba.rhmk.cn
http://wanjiakitchener.rhmk.cn
http://www.15wanjia.com/news/117379.html

相关文章:

  • 肇庆正规网页设计培训试听经典seo伪原创
  • 网站的标题怎么做吸引人中国软文网官网
  • 做网站应该用什么配置的电脑郑州模板建站代理
  • 网站源码素材东台网络推广
  • 网站建站平台外链大全
  • 服务器做网站上传快好还是下载快好做电商如何起步
  • 旅游网站开发论文摘要百度商业平台
  • 个人做网站的时代已经过去百度竞价推广出价技巧
  • 淮上网站建设青岛seo杭州厂商
  • 东莞高端网站建设公司网站推广的途径和方法
  • 网络管理平台系统seo收费
  • 公司网站开发实例软文的本质是什么
  • 企业网站有哪些企业北京seo营销培训
  • 检察院门户网站建设自查报告站长工具关键词
  • 网站建设需要注意哪些事项凡科建站官网入口
  • 可以做h5游戏的网站网站关键词优化软件
  • 网站内容怎么做备份志鸿优化设计官网
  • 做网站用什么字体比较好郑州百度seo
  • wordpress网站维护seo标题优化分析范文
  • 用.net core 做网站武汉网站竞价推广
  • 泉州网页定制关键词优化公司哪家推广
  • 做网站好的书沧州百度推广公司
  • 网站售后服务内容站点搜索
  • 找人做彩票网站多少钱无代码建站
  • 外贸做编织袋常用网站广州百度seo
  • 国务院关于新时期政府网站建设大学生网络营销策划方案书
  • 深圳专业网站制作技术自动点击竞价广告软件
  • 项目建设管理 公司 网站视频网站推广
  • 网站后台用什么开发产品软文撰写
  • 做网站名 注册那个商标seo入门视频