[Interop-dev] Color line of link
Waldek Waldek
(spam-protected)
Fri Apr 29 18:34:50 CEST 2016
Hi,
What you think that add color of link line depend on quality link. I have
use on google map where we display OLSR link and line of links between
nodes depend on value ETX:
function Link (fromip, toip, lq, nlq, etx) {
if(etx <= 0.1){
colorL = "#91867E";
}
else if(etx < 2 && etx >0.1){
colorL = "#87CD00";
}
else if(etx >= 2 && etx < 4){
colorL = "#FFCB54";
}
else if(etx >= 4 && etx < 10){
colorL = "#FF6600";
}
else{
colorL = "#FF0000";
}
It is useful information about situation of links between nodes where color
line links inform as about quality links.
It maybe will nice add this feature in django-netjesongraph ???
--
Waldek sp2ong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.funkfeuer.at/pipermail/interop-dev/attachments/20160429/92089c0e/attachment.html>
More information about the Interop-dev
mailing list