Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
is_k_regular
Determines whether the graph G is a k-regular graph.
G
A k-regular graph is a graph where each vertex has degree k.
G (NetworkX graph)
Whether the given graph is k-regular.
bool