Commit graph

5 commits

Author SHA1 Message Date
Jan-Philipp Litza 6fc1423124 Make handling of node attributes more flexible.
This commit makes Nodes special dicts that return None-like objects for
inexistent keys, making it a dynamic attribute store.

Also, it removes the D3MapBuilder and moves its logic to the Node and
Link classes' newly introduced export() method. Only they need to be
changed to populate the final nodes.json with more attributes.
2014-07-06 20:03:10 +02:00
Nils Schneider b1eaf86d30 lots of changes to support inter-node vpn links 2012-06-11 23:53:45 +02:00
Nils Schneider 80c2cd394b remove link.distance/strength, tweak parameters 2012-06-07 22:58:45 +02:00
Nils Schneider 492dec92c1 fix link quality display 2012-06-04 20:47:05 +02:00
root d23736d0f5 move Link and Node to seperate files 2012-05-11 14:12:41 +02:00