# grinpy.functions.min_degree¶

grinpy.functions.min_degree(G)

Return the minimum degree of G.

The minimum degree of a graph is the smallest degree of any node in the graph.

G : graph
A NetworkX graph.
minDegree : int
The minimum degree of the graph.
>>> G = nx.path_graph(3) # Path on 3 nodes
>>> nx.min_degree(G)
1