Developing lightweight computation at the DSG edge

Commit c2cfecf2 authored by Simó Albert i Beltran's avatar Simó Albert i Beltran
Browse files

sed -i -e 's/\s\+$//g' packages/bmx6-luci/files/usr/lib/lua/luci/view/bmx6/graph.htm

parent 41a215b2
...@@ -48,11 +48,11 @@ $Id$ ...@@ -48,11 +48,11 @@ $Id$
var rxRate = data[i].links[j].rxRate; var rxRate = data[i].links[j].rxRate;
var txRate = data[i].links[j].txRate; var txRate = data[i].links[j].txRate;
if (!seen[key] && rxRate>0 && txRate>0) if (!seen[key] && rxRate>0 && txRate>0)
{ {
g.addEdge(data[i].globalId, data[i].links[j].globalId, g.addEdge(data[i].globalId, data[i].links[j].globalId,
{ label: rxRate + '/' + txRate, { label: rxRate + '/' + txRate,
directed: false, stroke: '#aaaaaa', fill: '#ffffff', directed: false, stroke: '#aaaaaa', fill: '#ffffff',
'label-style': { 'font-size': 10 }}); 'label-style': { 'font-size': 10 }});
seen[key] = true; seen[key] = true;
...@@ -79,7 +79,7 @@ $Id$ ...@@ -79,7 +79,7 @@ $Id$
layouter.layout(); layouter.layout();
renderer.draw(); renderer.draw();
} }
} }
); );
//]]></script> //]]></script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment