This computes the minimal vertex degree of an undirected graph.
i1 : G = graph({{1,2}});
i2 : minimalDegree G o2 = 1
The object minimalDegree is a method function.