[Interop-dev] RFC: add parameter link-type

Nemesis (spam-protected)
Thu Sep 3 12:36:56 CEST 2015


On 09/03/2015 11:16 AM, Bastian Bittorf wrote:
> * Nemesis <(spam-protected)> [31.08.2015 09:06]:
>> > On 08/28/2015 02:04 PM, Bastian Bittorf wrote:
>>> > > * Nemesis <(spam-protected)> [28.08.2015 13:49]:
>>>>> > >>> this will not work, because one node can have different interfaces with
>>>>> > >>> different types - how can i add that to properties?
>>>> > >> Link objects can have properties too!
>>> > > oh - soooo easy?! thank you:
>>> > > http://intercity-vpn.de/networks/giancarlo/meshrdf/netjson.html
>>> > > (mixed wireless+ethernet)
>>> > >
>>> > > next week i will implement the subtypes. (frequency + channelwidth)
>> > 
>> > 
>> > Well I found out a few things to change in networkgraph to allow
>> > customizing colors more easily.
>> > 
>> > For the moment try this crappy hack:
> ok, worked again on this issue (small net, dualradio-hardware 2.4/5 GHz mixed)
> http://intercity-vpn.de/networks/giancarlo/meshrdf/netjson.html
> http://intercity-vpn.de/networks/giancarlo/meshrdf/map.json
>
> i introduced/hacked 3 new properties and modified your script:


Great!

I fixed the bugsand made it easier to accomplish this kind of tasks.

Take a look at this example:
https://nodeshot.org/netjsongraph/examples/custom-attributes.html

See this commit:
https://github.com/interop-dev/netjsongraph.js/commit/08c45fe408bdf5faabfda396b6cadd32af0c7802

Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.funkfeuer.at/pipermail/interop-dev/attachments/20150903/0cd4633f/attachment.html>


More information about the Interop-dev mailing list