14
votes

Is there any way to force graphviz to always draw the nodes above edges even if the edge is drawn over (or preferably under) the node?

So far I have tried ordering them and different layer options but not found a way that works.

1

1 Answers

12
votes

You'll want to specify outputorder="edgesfirst". This can be found in the documentation.