Open ehartford opened 8 years ago
in the force directed graph model, parameters getX and getY are not declared, will this not create global variables?
https://github.com/novus/nvd3/blob/master/src/models/forceDirectedGraph.js#L163
I would expect to see something here
https://github.com/novus/nvd3/blob/master/src/models/forceDirectedGraph.js#L27
like
,getX = d3.functor(0.0) ,getY = d3.functor(0.0)
Yea, that looks like a bug. That's a fairly new graph so it was probably an oversight by the author. Send us a pull request with the fix if you'd like :)
in the force directed graph model, parameters getX and getY are not declared, will this not create global variables?
https://github.com/novus/nvd3/blob/master/src/models/forceDirectedGraph.js#L163
I would expect to see something here
https://github.com/novus/nvd3/blob/master/src/models/forceDirectedGraph.js#L27
like