I would like to force dot displaying only vertical or horizontal edges between nodes.
I have found a similar request with the post Family tree layout with Dot/GraphViz, but I am not dealing with trees, so I hope there is a solution without inserting extra nodes...
If I build the following graph:
digraph G { splines=ortho A [ shape=box ] B [ shape=box ] C [ shape=box ] D [ shape=box ] A -> B A -> C B -> D C -> D }
What I get is this:
But I would like a graph like this one:
How can I get such a rendering ?
Edit : the "splines" attribute seems not working as expected... Is there something I did wrong ?