Graph.neighbors
- Graph.neighbors(key)[source]
Return the neighbors of a node.
- Parameters:
- keyhashable
The identifier of the node.
- Returns:
- list[hashable]
A list of node identifiers.
See also
Site Navigation
Return the neighbors of a node.
The identifier of the node.
A list of node identifiers.
See also