Commit a528cd88 authored by Håvard Eidnes's avatar Håvard Eidnes
Browse files

More adaptation for new networkx.

parent 447887d2
......@@ -1504,7 +1504,7 @@ class Simulation:
self.graph.add_node(router)
for (u, v, w) in edges:
self.graph.add_edge(u, v, w)
self.graph.add_edge(u, v, **w)
del self.changes[idx]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment