Posted: Mon Nov 05, 2007 5:26 pm Post subject: weathermap not taking the VIA properties properly
I'm trying to create a detailed weathermap of links between switches. As you can see the VIA isn't working properly. Here is the conf:
Code:
NODE MASTERDEVICE
LABEL MASTERDEVICE
POSITION 100 20
ICON images/WorkgroupSwitchSm.png
NODE DEVICE1
LABEL DEVICE1
POSITION 100 100
ICON images/WorkgroupSwitchSm.png
NODE DEVICE2
LABEL DEVICE2
POSITION 100 180
ICON images/WorkgroupSwitchSm.png
NODE DEVICE3
LABEL DEVICE3
POSITION 100 260
ICON images/WorkgroupSwitchSm.png
NODE DEVICE4
LABEL DEVICE4
POSITION 100 340
ICON images/WorkgroupSwitchSm.png
LINK MASTERDEVICE<>DEVICE1#1
NODES MASTERDEVICE:0:15 DEVICE1:0:0
VIA 41 35
VIA 41 100
LINK MASTERDEVICE<>DEVICE1#2
NODES MASTERDEVICE:0:12 DEVICE1:0:-3
VIA 38 32
VIA 38 103
LINK MASTERDEVICE<>DEVICE2#1
NODES MASTERDEVICE:0:9 DEVICE2:0:0
VIA 35 29
VIA 35 180
LINK MASTERDEVICE<>DEVICE2#2
NODES MASTERDEVICE:0:6 DEVICE2:0:-3
VIA 32 26
VIA 32 183
LINK MASTERDEVICE<>DEVICE3#1
NODES MASTERDEVICE:0:3 DEVICE3:0:0
VIA 29 23
VIA 29 260
LINK MASTERDEVICE<>DEVICE3#2
NODES MASTERDEVICE:0:0 DEVICE3:0:-3
VIA 26 20
VIA 26 263
LINK MASTERDEVICE<>DEVICE4#1
NODES MASTERDEVICE:0:-3 DEVICE4:0:0
VIA 23 17
VIA 23 340
LINK MASTERDEVICE<>DEVICE4#2
NODES MASTERDEVICE:0:-6 DEVICE4:0:-3
VIA 20 14
VIA 20 343
What am I doing wrong that is causing Weathermap to bend like that or is that what it is going to do when I create Links like that? Is there a way around it?
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
Posted: Mon Nov 05, 2007 6:03 pm Post subject:
That is exactly what VIA is supposed to do. It's drawing a curve that passes through the points that you specified.
In the next release but one (0.94 is out soon, 0.95 will have this feature), you will be able to specify a 'VIASTYLE angled' to get what you really want in this case (see attached).
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
Posted: Mon Nov 05, 2007 6:28 pm Post subject:
You could also consider a different layout...
http://www.network-weathermap.com/node/51 is a similar type of map, if I understand what you are doing correctly, where there is a 'hub' or a common VLAN, and lots of subordinate switches/nodes.
I'm actually going for an overview of the entire network and all the main connections including redundant connections to servers, switches...etc...so if something drops we can see it through the network. It's going to be an ugly conf file but when it's done it's going to be quite sexy I think. Just need those angled routes and I can get back to work on it again.