BaseNetwork.neighbors
-
BaseNetwork.
neighbors
(key) Return the neighbors of a node.
- Parameters
key (hashable) – The identifier of the node.
- Returns
list – A list of node identifiers.
BaseNetwork.
neighbors
(key)Return the neighbors of a node.
key (hashable) – The identifier of the node.
list – A list of node identifiers.