key/value properties on Node and Link
A patch that adds key/value properties
to the Node
and Link
message in xir. This is an MR to moa
and it is used in place of the tags
field that was there.
To use:
net = Network("BORK")
nodes = [net.node(name) for name in ["one", "two"]]
nodes[0].properties["groups"] = ["leaves", "edges"]
link = net.connect[nodes]
link.properties["emu"] = ["foob"]
...