I want to make double click event on nodes. So I tried
.on(\"dbclick\",function(d){return \"http://google.com\");});
and
.bin
You can use "dblclick" instead of "dbclick":
nodes.on("dblclick",function(d){ alert("node was double clicked"); });