Accepted answer

Check out this graph. It shows how to use styles on edges, change the way the edge is layed out (lineInterpolate), and how to remove the arrowhead.

For more details on styling, see In particular, the following may be helpful:


tl;dr: Adding the property lineInterpolate: 'basis' while setting your edges will draw curved edges. For example,

g.setEdge('A', 'B', { lineInterpolate: 'basis' });

See this PR for more details.

Related Query

More Query from same tag