NetworkX

Previous topic

networkx.hypercube_graph

Next topic

networkx.lollipop_graph

Quick search

networkx.ladder_graph

ladder_graph(n)

Return the Ladder graph of length n.

This is two rows of n nodes, with each pair connected by a single edge.

Node labels are the integers 0 to 2*n - 1.