[英]How can I permit overlapping edges in Graphviz?
I'm using Graphviz to create an Organizational Chart.我正在使用 Graphviz 创建组织结构图。
By default dot
creates the following diagram:默认情况下
dot
创建以下图表:
The desired output combines the edges so that they overlap, with elbow connections:所需的输出组合边缘,使它们重叠,肘部连接:
The following source code generates the problematic diagram:以下源代码生成有问题的图表:
digraph G {
splines = ortho;
concentrate = true;
node [shape="box", style="rounded", penwidth = 2];
edge [color="#142b30", arrowhead="vee", penwidth = 2];
{
rank = same
"1";
"2";
"3";
"4";
}
"Main Node" -> "1";
"Main Node" -> "2";
"Main Node" -> "3";
"Main Node" -> "4";
{
rank = same
"5";
"6";
"7";
}
"1" -> "5";
"1" -> "6";
"1" -> "7";
}
How can dot
create orthogonal, elbow-joint edges in a Manhattan layout?如何
dot
在曼哈顿布局创建正交,肘部关节的边缘?
I have tried various combinations of sametail
and tailport
to no avail.我尝试了
sametail
和tailport
各种组合都无济于事。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.