Graph.degree

Get the degree of node n.

struct Graph(Node, Weight = void, Flag!"isDirected" isDirected = No.isDirected, EdgePayload = void)
const nothrow pure
static if(!(isDirected))
size_t
degree
(
Node n
)

Meta