hiperwalk.Multigraph.degree# Multigraph.degree(vertex)[source]# Return the degree of the given vertex. The degree of a vertex \(u\) in a graph is the number of edges incident to \(u\). Each Loop is counted once. Parameters: vertexAny valid vertex representation. Notes The Graph class supports graphs with loops.