VivaGraphJS
VivaGraphJS copied to clipboard
Fix svg_dual_links demo + expose renderer.isPaused variable
Hello @anvaka,
I have created a PR about fixing the dual links demo for tutorial_svg, using the multigraph option. Just mention it here as an issue for people that would like to create a multigraph. I think that it's not documented somewhere.
Also, I have included another commit to expose the isPaused variable to the renderer object.
Thanks!
Hi @mzachariadis , actually I was not aware of multigraph option!
Looking at the fix you made, what does {multigraph : true} allows to do respect to not passing that parameter?
Hello @gg4u,
by passing this option, you are able to add more than one links between two nodes. You can check the demo here -> https://github.com/anvaka/VivaGraphJS/blob/master/demos/tutorial_svg/07%20-%20Show%20Dual%20Links.html
Without this option you will see one link. Try adding the multigraph option and you will see the difference.