指南扩展: 连接线
节点之间的连接通过连接线。下面介绍不同连接线的形状
带箭头的连接线
graph LR
A-->B
不带箭头的连接线
graph LR
A---B;
B-->C;
带内容不带箭头的连接线
graph LR;
A--This is the text---B;
or
graph LR;
A---|This is the text|B;
带内容带箭头的连接线
graph LR;
A--This is the text-->B;
B--This is the text-->C;
or
graph LR;
A-->|This is the text|B;
B-->|This is the text|C;