From 205d4f4d108032a4083bc6a6e5bf8ef0a6d0557a Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Wed, 5 Sep 2012 03:34:39 +0200 Subject: [PATCH] linkquality colors in geomap --- html/force.js | 10 ---------- html/geomap.html | 1 + html/geomap.js | 14 +++++++++++--- html/links.js | 11 +++++++++++ html/nodes.html | 1 + 5 files changed, 24 insertions(+), 13 deletions(-) create mode 100644 html/links.js diff --git a/html/force.js b/html/force.js index 4f933f8..81ae1dc 100644 --- a/html/force.js +++ b/html/force.js @@ -372,16 +372,6 @@ function reload() { }) } -var linkcolor = {'default': - d3.scale.linear() - .domain([1, 1.25, 1.5]) - .range(["#0a3", "orange", "red"]), - 'wifi': - d3.scale.linear() - .domain([1, 3, 10]) - .range(["#0a3", "orange", "red"]), - } - var dragging = false var node_drag = d3.behavior.drag() diff --git a/html/geomap.html b/html/geomap.html index 8f8a069..ddd1c2c 100644 --- a/html/geomap.html +++ b/html/geomap.html @@ -20,6 +20,7 @@ +