VivaGraphJS
VivaGraphJS copied to clipboard
Graph with fixed position
Hi, another question:
Is there any way to achieve always the same visualisation of the graph given a predefined data?
I mean, given a set of nodes and relations between them, obtain always the same position of the nodes?
Have you tried setting the theta coefficient to 0 in the layout parameters?
- Theta coefficient from Barnes Hut simulation. Ranged between (0, 1). The closer it's to 0 the more nodes algorithm will have to go through. Setting it to zero makes Barnes Hut simulation no different from brute-force forces calculation (each node is considered) theta: 1, // default: 0.8
@ArnauC the layout should be the same if you run the same number of iterations. VivaGraph uses seeded random number generator, so everything should look the same for the same graph.
Do you see it renders graphs differently every time?
I can confirm that the layout is definitely deterministic, this should be closed.