Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Like that

sage: G = graphs.PetersenGraph()
sage: G.num_edges()
15
sage: G.subdivide_edges(G.edges(),1)
sage: G.num_edges()
30