BendNetwork.neighbors

BendNetwork.neighbors(key)

Return the neighbors of a node.

Parameters:
keyhashable

The identifier of the node.

Returns:
list[hashable]

A list of node identifiers.