我正在尝试使用graphviz对某个流进行建模,我无法弄清楚如何对下面的图进行建模以共享同一个水平中心
digraph exmp {
A -> B -> C -> D
C -> E [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]
subgraph cluster_hackToSinkIt { E -> F }
{ rank="sink" E F }
}
Run Code Online (Sandbox Code Playgroud)
这导致以下图表:

我的问题是,我怎样才能将E - > F定位在D下,这就是在同一列中?
我有一个简单的点图来展示如何执行测试.
PerformTests; PerformTests<---+
PerformTests -> TestsPassed; | |
TestsPassed [shape="diamond"]; v |
TestsPassed -> Release [label="Yes"]; TestsPassed |
TestsPassed -> FixErrors [label="No"]; Y| N\ |
FixErrors -> PerformTests; v FixErrors
Release
Run Code Online (Sandbox Code Playgroud)
该图显示了除了具有菱形形状的TestPassed之外的所有节点的方框.我的问题在这里.我喜欢钻石外面的边缘,因为No是从右边(东边)的钻石中取出而不是从右下方(东南方向)倾斜.
What I have What I want
^ ^
/ \ / \
< > < >--->
\ /\ \ /
v \ v
Run Code Online (Sandbox Code Playgroud)
我compass_pt在点语法中看到过这种情况,但无法弄清楚如何使用它.我想要什么,怎么做?