diff --git a/static/js/graphing.js b/static/js/graphing.js index 615d2523f..43daa38ba 100644 --- a/static/js/graphing.js +++ b/static/js/graphing.js @@ -1030,7 +1030,11 @@ ImageFileChangeTree.prototype.update_ = function(source) { // Transition links to their new position. link.transition() .duration(duration) - .attr("d", diagonal); + .attr("d", function(d) { + var s = {x: d.source.x + 14, y: d.source.y + 9}; + var t = d.target; + return diagonal({source: s, target: t}); + }); // Transition exiting nodes to the parent's new position. link.exit().transition()