NetworkX

Previous topic

networkx.trivial_graph

Next topic

networkx.make_small_graph

Quick search

networkx.wheel_graph

wheel_graph(n)
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.