rustworkx.PyDiGraph.has_parallel_edges¶
- PyDiGraph.has_parallel_edges()¶
Detect if the graph has parallel edges or not
- Returns:
Trueif the graph has parallel edges, otherwiseFalse- Return type:
bool
Detect if the graph has parallel edges or not
True if the graph has parallel edges, otherwise False
bool