remove dead code

alfred-data
Nils Schneider 2012-06-03 16:30:27 +02:00
parent ea529b374e
commit 954bd31107
1 changed files with 0 additions and 11 deletions

View File

@ -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;
    }