networkx.grid_graph
networkx.ladder_graph
Return the n-dimensional hypercube.
Node labels are the integers 0 to 2**n - 1.