Graph.connected_edges

Graph.connected_edges(key)[source]

Return the edges connected to a node.

Parameters

key (hashable) – The identifier of the node.

Returns

list – The edges connected to the node.