Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(function popNode(){
if (links.length)
{
var link;
while (link = links.shift())
{
var fileLink = FileLink.get({
from: link[0],
to: link[1]
});
if (fileLink)
{
graph.addLink.apply(graph, link);
break;
}
}
}
setTimeout(popNode, speedSlider.value);
})();
})();