Block.vertex_degree
- Block.vertex_degree(key)
Count the neighbors of a vertex.
- Parameters:
- keyint
The identifier of the vertex.
- Returns:
- int
The degree of the vertex.
Count the neighbors of a vertex.
The identifier of the vertex.
The degree of the vertex.