diff --git a/lib/main.js b/lib/main.js index 4f2aab4..6b7b481 100644 --- a/lib/main.js +++ b/lib/main.js @@ -31,7 +31,7 @@ function (moment, Router, L, GUI, numeral) { graphnodes[d.nodeinfo.node_id] = d }) - var graph = dataGraph.batadv + var graph = dataGraph.routedmesh || dataGraph.batadv graph.nodes.forEach( function (d) { if (d.node_id in graphnodes)