--- a/graph.php +++ b/graph.php @@ -113,12 +113,12 @@ sigInst.bind('downnodes',function(event){ var nodes = event.content; }); - // Draw the graph : - sigInst.draw(); // Start the ForceAtlas2 algorithm // (requires "sigma.forceatlas2.js" to be included) sigInst.startForceAtlas2(); + // Draw the graph : + sigInst.draw(); } if (document.addEventListener) {