in_edges¶
-
MultiDiGraph.
in_edges
(nbunch=None, keys=False, data=False)[source]¶ Return a list of the incoming edges.
Parameters: - nbunch (iterable container, optional (default= all nodes)) – A container of nodes. The container will be iterated through once.
- data (bool, optional (default=False)) – If True, return edge attribute dict with each edge.
- keys (bool, optional (default=False)) – If True, return edge keys with each edge.
Returns: in_edges – A list of (u,v), (u,v,d) or (u,v,key,d) tuples of edges.
Return type: list
See also
out_edges()
- return a list of outgoing edges