rustworkx.PyDiGraph.has_parallel_edges#

PyDiGraph.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