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
{{ message }}
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
Hi I am using vis.js to build a package virtualizer: https://github.com/farseerfc/pacvis/
I found it very hard to stabilize when there are more than 100 nodes. I tried to disable physics and found that the initial layout by hierarchical layout engine is too wide for 100 nodes. I created a jsfiddle: https://jsfiddle.net/dhmpq9dL/
Here is a hierarchical layout only 74 nodes with custom levels, and physics is disabled. On my screen I can see the resulted image like this:
If I add more nodes, the initial layout became too wide to stabilize by physics. How can I fix this?
Hi I am using vis.js to build a package virtualizer: https://github.com/farseerfc/pacvis/
I found it very hard to stabilize when there are more than 100 nodes. I tried to disable physics and found that the initial layout by hierarchical layout engine is too wide for 100 nodes. I created a jsfiddle:
https://jsfiddle.net/dhmpq9dL/
Here is a hierarchical layout only 74 nodes with custom levels, and physics is disabled. On my screen I can see the resulted image like this:
If I add more nodes, the initial layout became too wide to stabilize by physics. How can I fix this?
Edit:
Found out that I can remove this line https://github.com/almende/vis/blob/master/lib/network/modules/LayoutEngine.js#L868 and this line https://github.com/almende/vis/blob/master/lib/network/modules/LayoutEngine.js#L870 , then the layout worked as desired and I can scale to more than 1000 nodes with physics enabled.
The text was updated successfully, but these errors were encountered: