graphviz - SEM残差协方差

时间:2017-06-16 18:56:39

标签: graph graphviz

我无法找到如何使用graphviz在两个矩形之间绘制曲线,例如

enter image description here

digraph G {

SatisfactionF [style=filled, shape = rectangle] 
SatisfactionM [style=filled, shape = rectangle]  
Marital[shape = circle] 

       SatisfactionF -> Marital
       SatisfactionM -> Marital
}

1 个答案:

答案 0 :(得分:1)

你走了:

digraph G {

{
rank = same;
SatisfactionF [style=filled, shape = rectangle] 
SatisfactionM [style=filled, shape = rectangle]  
}
Marital[shape = circle] 

       SatisfactionF -> Marital
       SatisfactionM -> Marital


SatisfactionF -> SatisfactionM [label = "0.4" tailport=n headport=n dir=both arrowhead=none]

}

enter image description here

它会发出警告但是有效。