Draw the graph G with a spring layout.
A networkx graph
See networkx.draw_networkx() for a description of optional keywords, with the exception of the pos parameter which is not used by this function.