diff --git a/html/force.js b/html/force.js index 6b9b741..cd7379e 100644 --- a/html/force.js +++ b/html/force.js @@ -186,7 +186,7 @@ var linkedByIndex var force = d3.layout.force() .charge(-100) - .gravity(0.02) + .gravity(0.07) .friction(0.75) .theta(0.1) .size([w, h]) diff --git a/nodedb.py b/nodedb.py index 85af51a..f0befcc 100644 --- a/nodedb.py +++ b/nodedb.py @@ -174,10 +174,7 @@ class NodeDB: node.name = alias['name'] if 'vpn' in alias and alias['vpn']: - node.flags['vpn'] = True - - for k, v in node.interfaces.items(): - node.interfaces[k].vpn = "vpn" + node.interfaces[mac].vpn = True # list of macs # if options['gateway']: