Avoid edge intersection in graphviz

Viewed 2261

Suppose we have the following simple graph:

digraph Test {

    Start[shape = doublecircle];
    Foo[shape = square];
    Bar[shape = diamond];
    Baz[shape = square];
    Xyz[shape = square];

    Start -> Foo;
    Foo:s -> Bar:n;
    Bar:w -> Baz:n;
    Bar:e -> Xyz:n;
    Baz:s -> Foo:n;

}

Which is rendered as follows:

Rendered graph

Is there a way to tell graphviz to draw edge Baz -> Foo without intersections with Foo -> Bar nor Bar -> Baz?

3 Answers
Related