Why does d3.js v3 break my force graph when implementing zooming when v2 doesn't?
问题 I have a force layout that I have created using d3.js I would like to have both the normal functionality of a draggable force layout as well as the ability to zoom. I have basically copy/pasted the zooming code from (http://jsfiddle.net/nrabinowitz/QMKm3/). This is the same way of zooming that Mike Bostock uses in (http://bl.ocks.org/mbostock/3680957). Here is my code: http://jsfiddle.net/kM4Hs/6/ The zooming works fine, but I am unable to select single nodes in the force layout and drag them