rustworkx.PyDAG.has_parallel_edges

PyDAG.has_parallel_edges()

Detect if the graph has parallel edges or not

Returns:

True if the graph has parallel edges, otherwise False

Return type:

bool