[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-tasks/master] Display the number of visible relays (#6443)



commit 78c73926570d097f7ef5b65a53bfb3fafc91d01c
Author: Lunar <lunar@xxxxxxxxxxxxxx>
Date:   Fri Jun 21 17:29:31 2013 +0200

    Display the number of visible relays (#6443)
---
 task-6443/bubble-cw/bubble-cw.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/task-6443/bubble-cw/bubble-cw.html b/task-6443/bubble-cw/bubble-cw.html
index 9d075fd..1827c7c 100644
--- a/task-6443/bubble-cw/bubble-cw.html
+++ b/task-6443/bubble-cw/bubble-cw.html
@@ -75,7 +75,7 @@ d3.json("details.json", function(error, data) {
   var title = svg.append("g")
       .attr("transform", "translate(" + (diameter / 3) +", " + (diameter - 30) + ")");
   title.append("text")
-      .text(relays.length + " relays")
+      .text(relays.length + " relays (" + (node.filter(function(d) { return d.r > 1; }).size()) + " visible)")
       .attr("text-anchor", "middle")
       .attr("style", "font-size: 18pt");
   title.append("text")



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits