Degrees

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

Degrees[g]
returns the degrees of vertices 1, 2, 3, in that order.

DetailsDetails