NetworkX

Previous topic

networkx.trivial_graph

Next topic

networkx.make_small_graph

networkx.wheel_graph

wheel_graph(n, create_using=None)
Return the wheel graph: a single hub node connected
to each node of the (n-1)-node cycle graph.

Node labels are the integers 0 to n - 1.