GraphViz, grouping the same edges

后端 未结 2 471
甜味超标
甜味超标 2020-12-06 04:55
digraph G {
  a -> b [ label = \"foo\" ];
  a -> b [ label = \"bar\" ];
}

This will create two edges between the \'a\' and \'b\' nodes. Is th

2条回答
  •  有刺的猬
    2020-12-06 05:24

    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.

提交回复
热议问题