Determines whether the graph
Gis a regular graph.
A regular graph is a graph where each vertex has the same degree. A regular digraph is a graph where the indegree and outdegree of each vertex are equal.
- GNetworkX graph
Whether the given graph or digraph is regular.