diff --git a/lib/forcegraph.js b/lib/forcegraph.js index 4ba279c..5a8fa3e 100644 --- a/lib/forcegraph.js +++ b/lib/forcegraph.js @@ -231,7 +231,7 @@ define(["d3"], function (d3) { .attr("class", "link") .on("click", function (d) { if (!d3.event.defaultPrevented) - router.link(d)() + router.link(d.o)() }) linkEnter.append("line")