Thomas Vachuska
Committed by Gerrit Code Review

Modified d3.js to use alternate force.tick() invocation for improved speed.

Change-Id: I6d9e926817c13b5ef058e66ec1af509e22f1dea4
......@@ -6215,7 +6215,12 @@
type: "start",
alpha: alpha = x
});
d3.timer(force.tick);
//d3.timer(force.tick);
setTimeout(function tick(){
force.tick();
if(alpha >= .005);
setTimeout(tick, 0);
}, 0);
}
return force;
};
......