title: d3js move a node without dragging
body: <p>I'm moving a node in my d3.js graph using the following code:</p>
  
  <pre><code>d3.select("#"+ nodeid).attr("x",x);
  d3.select("#"+ nodeid).attr("y",y);
  </code></pre>
  
  <p>This works fine, but when I start dragging on the node again, it 'jumps' back to its old position and starts moving from there.</p>
  
  <p>Any ideas what I'm doing wrong here?</p>