Change the collision behavior of many nodes stored in an array
when using the force layout in d3.js it is possible to push nodes away with the help of the collision force by increasing an imaginary radius that surrounds the nodes. I created a seperate button named button and i want to use .data() (to select a whole array) to increase the collide radius into 40 of many nodes when click on that button. For example when a filtered number of nodes is stored in an array called abc , i tried this code: var node =...... .on("click", function(d, i) { abc = start && start.path(d) || []; node.style("fill", function(n) { if (n == start ) { return "yellow"; } else if