Open azarai opened 10 years ago
You can draw the edges yourself by overriding drawEdgePaths
and positionEdgePaths
. You can look at their implementation for a starting point.
You can remove the arrow by removing the following line from defaultDrawEdgePaths
:
.attr('marker-end', 'url(#arrowhead)');
Alternatively you could change the definition of #arrowhead
either directly, overriding postRender
, or using an undirected graph (Graph instead of DGraph).
I'm not sure this is up to date. I don't see drawEdgePaths
or positionEdgePaths
in the source.
Noticed that i had to split my questions up. Same topic as https://github.com/cpettitt/dagre/issues/130 (http://jsfiddle.net/aJg2G/4/)