Anders
Anders

Reputation: 181

Get graphviz to draw nodes above edges

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.

Upvotes: 18

Views: 5449

Answers (1)

Dan
Dan

Reputation: 2195

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

Upvotes: 13

Related Questions