<div dir="ltr"><div>Hi,<br><br></div>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:<br><div><div><br>Â Â Â Â function Link (fromip, toip, lq, nlq, etx) {<br>Â Â Â if(etx <= 0.1){<br>Â Â Â Â colorL = "#91867E";<br>Â Â Â }<br>Â Â Â else if(etx < 2 && etx >0.1){<br>Â Â Â Â colorL = "#87CD00";<br>Â Â Â }<br>Â Â Â else if(etx >= 2 && etx < 4){<br>Â Â Â Â colorL = "#FFCB54";<br>Â Â Â }<br>Â Â Â else if(etx >= 4 && etx < 10){<br>Â Â Â Â colorL = "#FF6600";<br>Â Â Â }<br>Â Â Â else{<br>Â Â Â Â colorL = "#FF0000";<br>Â Â Â }Â Â Â <br><br></div><div>It is useful information about situation of links between nodes where color line links inform as about quality links.<br><br></div><div>It maybe will nice add this feature in django-netjesongraph ???<br clear="all"></div><div><br>-- <br><div class="gmail_signature">Waldek sp2ong</div>
</div></div></div>