Index: arms/js/analysisScope.js =================================================================== diff -u -r13d78cb4ee180d289103813869709e43348b2794 -rd72dc459121309fbc06c7e4111194e6a004f6228 --- arms/js/analysisScope.js (.../analysisScope.js) (revision 13d78cb4ee180d289103813869709e43348b2794) +++ arms/js/analysisScope.js (.../analysisScope.js) (revision d72dc459121309fbc06c7e4111194e6a004f6228) @@ -804,19 +804,19 @@ return svg.node(); }, drag: function (simulation) { - function dragstarted(d) { - if (!d3.event.active) simulation.alphaTarget(0.3).restart(); + function dragstarted(event, d) { + if (!event.active) simulation.alphaTarget(0.3).restart(); d.fx = d.x; d.fy = d.y; } - function dragged(d) { - d.fx = d3.event.x; - d.fy = d3.event.y; + function dragged(event, d) { + d.fx = event.x; + d.fy = event.y; } - function dragended(d) { - if (!d3.event.active) simulation.alphaTarget(0); + function dragended(event, d) { + if (!event.active) simulation.alphaTarget(0); d.fx = null; d.fy = null; }