Note

This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.

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