Nodes stack on top of each other vis.js network

102 Views Asked by At

When my page loads all of the nodes in my vis.js network are on top of each other. How can I make it so that when the page is loaded the network looks like its supposed to...?

This is what it looks like now:

enter image description here

And I want it to look like this: enter image description here

So I want space between the nodes automatically. Thanks in advance.

0

There are 0 best solutions below