From 954bd311078ed2437598351863f1d09ed39812a1 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 3 Jun 2012 16:30:27 +0200 Subject: [PATCH] remove dead code --- html/force.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/html/force.js b/html/force.js index e2e4587..a3981aa 100644 --- a/html/force.js +++ b/html/force.js @@ -48,17 +48,6 @@ d3.json("nodes.json", function(json) { .attr("x2", function(d) { return d.target.x; }) .attr("y2", function(d) { return d.target.y; }); - function highlight_nodes(f) { - return function (e, i) { - d3.select(this).classed("highlight", f); -         var links = vis.selectAll("line").filter(function(d) { -                 return d.source.index == i || d.target.index == i; -             }).each(function(dLink, iLink) { -                 d3.select(this).classed("highlight", f); -             }); - } - } -     function isConnected(a, b) {         return linkedByIndex[a.index + "," + b.index] || linkedByIndex[b.index + "," + a.index] || a.index == b.index;     }