I am keeping track of multiple networkx graphs, that are modified X amount of iterations. Every time the graph changes, I recalculate all the positions using the spring layo