rustworkx.PyGraph.has_parallel_edges

PyGraph.has_parallel_edges()

Detect if the graph has parallel edges or not

Returns:

True if the graph has parallel edges, False otherwise

Return type:

bool