题
我的边缘有问题,彼此重叠。在我的 以前的问题,即如何强制节点在同一列中, ,发现如何将节点强加到一列中,但这会导致其他一些问题出现。
digraph exmp {
A -> B -> C -> D -> E
C -> F [constraint=false]
A -> C [style="dotted", constraint=false]
A -> D [style="dotted", constraint=false]
B -> D [constraint=false]
D -> A [style="dashed", constraint=false]
C -> A [style="dashed", constraint=false]
E -> F [style="invis"]
F -> G
E -> C [constraint="false"]
}
渲染到:
Alt Text http://img98.imageshack.us/img98/8324/wrong2.gif
我的问题是,来自e-> c和c-> f的边缘在节点C中的同一点开始/结束,并且虚线和虚线的边缘都在节点的右侧。
我该如何告诉特定边缘进入节点的右侧?
解决方案
在GraphViz邮件列表中发出消息后,我发现至少可以删除E-> c和c-> f重叠问题。
最简单的解决方案是使用指南针点端口:
C:e -> F [constraint=false]
- Emden
不隶属于 StackOverflow