Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GraphViz, grouping the same edges

Tags:

digraph G {   a -> b [ label = "foo" ];   a -> b [ label = "bar" ]; } 

This will create two edges between the 'a' and 'b' nodes. Is there a way to have only one edge (group them)?

like image 982
name Avatar asked Feb 24 '10 08:02

name


1 Answers

The "strict" keyword may help you.

strict digraph G {   a -> b [ label = "foo" ];   a -> b [ label = "bar" ]; } 

This will combine the edges. But I believe it will only apply the first label.

like image 94
Jason Avatar answered Oct 06 '22 02:10

Jason