GraphTheory
MinimumDegree
minimum degree
MaximumDegree
maximum degree
Calling Sequence
Parameters
Description
Examples
MaximumDegree(G)
MinimumDegree(G)
G
-
undirected graph
MaximumDegree returns the largest degree of the graph.
MinimumDegree returns the smallest degree of the graph.
A graph is regular if its minimum degree is equal to its maximum degree.
with⁡GraphTheory:
G≔Graph⁡Trail⁡1,2,3,4,2,5,6,7,2,8,1
G≔Graph 1: an undirected graph with 8 vertices and 10 edge(s)
MaximumDegree⁡G
6
MinimumDegree⁡G
2
DrawGraph⁡G
See Also
Degree
DegreeSequence
IsRegular
Trail
Download Help Document