2009-09-25 32 views
5

お互いに重なり合っているエッジに問題があります。私のprevious question of how to force the nodes to be in the same columnでは、ノードを1つの列に強制する方法を見出しましたが、これはいくつかの他の問題を引き起こします。graphvizでエッジの位置を強制する方法は?

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"] 
} 

にレンダリング:私の問題は、Eから縁ということである

alt text http://img98.imageshack.us/img98/8324/wrong2.gif

- > CとC - > Fは/開始ノードCにおける同じ点で終了と破線れます点線の端はすべてノードの右側にあります。

特定のエッジをノードの右側に移動する方法を教えてください。

答えて

9

graphvizメールリストのメッセージの後に、少なくともE - > CとC - > Fの重複問題を取り除くことが可能です。 - エムデン

C:e -> F [constraint=false]

最も簡単な解決策は、 コンパスポイントのポートを使用することです

関連する問題