<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 09/03/2015 11:16 AM, Bastian Bittorf
wrote:<br>
</div>
<blockquote cite="mid:20150903091626.GS12602@medion.lan" type="cite">
<pre wrap="">* Nemesis <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:nemesis@ninux.org"><nemesis@ninux.org></a> [31.08.2015 09:06]:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> </span>On 08/28/2015 02:04 PM, Bastian Bittorf wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> > </span>* Nemesis <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:nemesis@ninux.org"><nemesis@ninux.org></a> [28.08.2015 13:49]:
</pre>
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> >>> </span>this will not work, because one node can have different interfaces with
<span class="moz-txt-citetags">> >>> </span>different types - how can i add that to properties?
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">> >> </span>Link objects can have properties too!
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">> > </span>oh - soooo easy?! thank you:
<span class="moz-txt-citetags">> > </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://intercity-vpn.de/networks/giancarlo/meshrdf/netjson.html">http://intercity-vpn.de/networks/giancarlo/meshrdf/netjson.html</a>
<span class="moz-txt-citetags">> > </span>(mixed wireless+ethernet)
<span class="moz-txt-citetags">> ></span>
<span class="moz-txt-citetags">> > </span>next week i will implement the subtypes. (frequency + channelwidth)
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>Well I found out a few things to change in networkgraph to allow
<span class="moz-txt-citetags">> </span>customizing colors more easily.
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>For the moment try this crappy hack:
</pre>
</blockquote>
<pre wrap="">ok, worked again on this issue (small net, dualradio-hardware 2.4/5 GHz mixed)
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://intercity-vpn.de/networks/giancarlo/meshrdf/netjson.html">http://intercity-vpn.de/networks/giancarlo/meshrdf/netjson.html</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://intercity-vpn.de/networks/giancarlo/meshrdf/map.json">http://intercity-vpn.de/networks/giancarlo/meshrdf/map.json</a>
i introduced/hacked 3 new properties and modified your script:</pre>
</blockquote>
<br>
<br>
<font face="Helvetica, Arial, sans-serif">Great!<br>
<br>
<font face="Helvetica, Arial, sans-serif">I fixed the bugs<font
face="Helvetica, Arial, sans-serif"> and made it easier to
accomplish this kind o<font face="Helvetica, Arial,
sans-serif">f tasks.<br>
<br>
<font face="Helvetica, Arial, sans-serif">Take a look at
this example:</font></font></font></font></font><br>
<a class="moz-txt-link-freetext" href="https://nodeshot.org/netjsongraph/examples/custom-attributes.html">https://nodeshot.org/netjsongraph/examples/custom-attributes.html</a><br>
<br>
See this commit:<br>
<a class="moz-txt-link-freetext" href="https://github.com/interop-dev/netjsongraph.js/commit/08c45fe408bdf5faabfda396b6cadd32af0c7802">https://github.com/interop-dev/netjsongraph.js/commit/08c45fe408bdf5faabfda396b6cadd32af0c7802</a><br>
<br>
Federico<br>
</body>
</html>