CellNetwork.vertex_neighborhood
- CellNetwork.vertex_neighborhood(vertex, ring=1)[source]
Return the vertices in the neighborhood of a vertex.
- Parameters:
- vertexint
The identifier of the vertex.
- ringint, optional
The number of neighborhood rings to include.
- Returns:
- list[int]
The vertices in the neighborhood.
See also
Notes
The vertices in the neighborhood are unordered.