Skip to content

Commit

Permalink
added some to N to get tree edges to appear
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg committed Jun 7, 2016
1 parent 8ff127e commit fcab507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree_vis.js
Expand Up @@ -197,7 +197,7 @@ function update(source) {
link.enter().insert("path", "g")
.attr("class", "link")
.style("stroke-width", function(d) {
return 10.0*Math.log(treeData[d.target.dataID].N+1)/Math.log(maxN) + "px";})
return 10.0*Math.log(treeData[d.target.dataID].N+2)/Math.log(maxN) + "px";})
.attr("d", function(d) {
var o = {x: source.x0, y: source.y0};
return diagonal({source: o, target: o});
Expand Down

0 comments on commit fcab507

Please sign in to comment.