I\'m moving a node in my d3.js graph using the following code:
d3.select(\"#\"+ nodeid).attr(\"x\",x); d3.select(\"#\"+ nodeid).attr(\"y\",y);
I ended up just adding this to the code as well
d3.select("#"+ nodeid).data([{x: x, y: y}]);