don't hide vpn hosts, only hide links

This commit is contained in:
Nils Schneider 2012-06-12 02:26:41 +02:00
parent a0adb74269
commit 5484c34581
2 changed files with 2 additions and 5 deletions

View file

@ -186,7 +186,7 @@ var linkedByIndex
var force = d3.layout.force() var force = d3.layout.force()
.charge(-100) .charge(-100)
.gravity(0.02) .gravity(0.07)
.friction(0.75) .friction(0.75)
.theta(0.1) .theta(0.1)
.size([w, h]) .size([w, h])

View file

@ -174,10 +174,7 @@ class NodeDB:
node.name = alias['name'] node.name = alias['name']
if 'vpn' in alias and alias['vpn']: if 'vpn' in alias and alias['vpn']:
node.flags['vpn'] = True node.interfaces[mac].vpn = True
for k, v in node.interfaces.items():
node.interfaces[k].vpn = "vpn"
# list of macs # list of macs
# if options['gateway']: # if options['gateway']: