sk2/autonetkit — Issue #200: Support graphml default
Author: sk2
Created: 2012-02-01 07:31:30+00:00
State: open

NetworkX stores the defaults for nodes inside G.graph. This should be used in the graphml reader.
Additionally, if the value on a node/edge is set to the same as the default, then yed wont export the value (as assumed to be default).
This can lead to unexpected behaviour (we encountered this during our sigcomm writing), so it makes sense to apply the default to all nodes that don;t have that attribute set.
This is simple in the graphml reader step

```
{'node_default': {'prop1': u'111'}}
```