Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix svg_dual_links demo + expose renderer.isPaused variable #236

Open
mzachariadis opened this issue Oct 3, 2018 · 2 comments
Open

Fix svg_dual_links demo + expose renderer.isPaused variable #236

mzachariadis opened this issue Oct 3, 2018 · 2 comments

Comments

@mzachariadis
Copy link

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!

@gg4u
Copy link

gg4u commented Oct 25, 2018

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?

@mzachariadis
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants