Ask Your Question

Revision history [back]

You can save the positions of the vertices as follows:

sage: G.show(layout='tree',tree_root=0, save_pos=True)

Then, when you add edges, the "optimal" position of the vertices is not recomputed.