允许在graphviz中重叠边缘

Dav*_*vis 10 dot edge graphviz orthogonal

背景

使用graphviz创建组织结构图.

问题

默认情况下,dot创建以下图表:

所需的输出结合边缘,使它们重叠,与弯头连接:

源代码

以下源代码生成有问题的图表:

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";
}
Run Code Online (Sandbox Code Playgroud)

如何dot在曼哈顿布局中创建正交的肘关节边缘?

思路

我曾尝试各种组合sametail,并tailport无济于事.

mar*_*pet 8

据我所知,只有插入不可见的节点才能创建"肘关节"边缘.