rustworkx.PyDAG.add_edges_from_no_data#
- PyDAG.add_edges_from_no_data(obj_list, /)#
Add new edges to the graph without python data.
- Parameters:
obj_list (iterable[tuple[int, int]]) – An iterable of tuples of the form
(parent, child)to attach to the graph.parentandchildare integer indices describing where an edge should be added. Unlikeadd_edges_from()there is no data payload and when the edge is created None will be used.- Returns:
A list of indices of the newly created edges
- Return type: