Reposition the edge from the bottom nodes in Graphviz

It took me a while to make the schedule lower, as it is now, and I am almost satisfied. The only thing that bothers me is that the connection between D and B should be above all nodes for the sake of aesthetics.

The funny thing is that the supply of ports for the edge is not impressive dot , which just makes the cross intersect with connected nodes.

Do you have an idea on how to avoid this?

My graph

 digraph { graph [splines=ortho, nodesep=0.2, fontname="DejaVu Sans", rankdir=LR] node [shape=box, fontsize=8] edge [arrowsize=0.5] subgraph cluster { style=invis; A -> B -> C; A -> B -> C; A -> B -> C -> D; D -> E; D:nw -> B:ne; } { D -> F -> { C; E }; } } 

PS: you need the latest version of Graphviz to get orthogonal edges .

+4
source share
1 answer

This may be a function of the version of the engine you are using. I'm not sure which version of the GraphViz workspace point is http://graphviz-dev.appspot.com/ , but it launches your problem connector at the top.

enter image description here

+3
source

Source: https://habr.com/ru/post/1482160/


All Articles