You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off thanks for the library, its really awesome.
I am facing more a logistical problem when using the library. What I want to do is dynamically create graphs based on user input, but a lot of the time these graphs will have 1-to-many relationships with one central node and many nodes all connecting only to that.
If there are only a few it works fine, but if there are a number of them the graph wont 'stabilise' as it seems a few nodes move and also end up moving other nodes around it. I've looked at other examples and reviewed the options given here and on other parts of the Internet, and it seems that the way to solve this is to change some of the graph settings including the springLength. However because my graph is dynamically generated if I set this to something large to account for bigger groupings, the smaller groupings look insane.
Is there a way to make some of these values dynamic to account for the different spring lengths or be able to set spring lengths for just certain parts of the graph? I have also played around with pausing the rendering, but I need the graph dynamic so people can move and explore the data
Thank you!
The text was updated successfully, but these errors were encountered:
Heya,
First off thanks for the library, its really awesome.
I am facing more a logistical problem when using the library. What I want to do is dynamically create graphs based on user input, but a lot of the time these graphs will have 1-to-many relationships with one central node and many nodes all connecting only to that.
If there are only a few it works fine, but if there are a number of them the graph wont 'stabilise' as it seems a few nodes move and also end up moving other nodes around it. I've looked at other examples and reviewed the options given here and on other parts of the Internet, and it seems that the way to solve this is to change some of the graph settings including the springLength. However because my graph is dynamically generated if I set this to something large to account for bigger groupings, the smaller groupings look insane.
Is there a way to make some of these values dynamic to account for the different spring lengths or be able to set spring lengths for just certain parts of the graph? I have also played around with pausing the rendering, but I need the graph dynamic so people can move and explore the data
Thank you!
The text was updated successfully, but these errors were encountered: