gryf 0.2.1

Graph data structure library with focus on convenience, versatility, correctness and performance.
Documentation
1
2
3
4
5
6
7
8
9
Returns the out or in degree of the given vertex, depending on the edge
direction argument.

In undirected graphs the direction is ignored and the returned value is the same
as from [degree_undirected](Self::degree_undirected).

# Panics

Panics if the vertex does not exist.