in_edges

DiGraph.in_edges(nbunch=None, data=False)

Return a list of the incoming edges.

See also

edges
return a list of edges