VivaGraphJS icon indicating copy to clipboard operation
VivaGraphJS copied to clipboard

Fix svg_dual_links demo + expose renderer.isPaused variable

Open mzachariadis opened this issue 7 years ago • 2 comments
trafficstars

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!

mzachariadis avatar Oct 03 '18 08:10 mzachariadis

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?

gg4u avatar Oct 25 '18 21:10 gg4u

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.

mzachariadis avatar Oct 26 '18 09:10 mzachariadis