Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
ladder_graph
Returns the Ladder graph of length n.
This is two paths of n nodes, with each pair connected by a single edge.
Node labels are the integers 0 to 2*n - 1.