Skip to content
Snippets Groups Projects
Commit d226a7d1 authored by Lunar's avatar Lunar
Browse files

Stop drawing relays that are not even 2 pixels wide (#6443)

parent 66a755cb
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ d3.json("details.json", function(error, data) {
.attr("class", "node")
.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; });
node.filter(function(d) { return !d.children;})
node.filter(function(d) { return !d.children && d.r > 1;})
.append("image")
.attr("xlink:href", function(d) { return "tor-consensus-vis-node-" + (d.bandwidth > cutOff ? "onion" : "circle") + ".svg"; })
.attr("transform", function(d) { return "translate(" + -d.r + "," + -d.r + ")"; })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment