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.
Generate a new
PyDiGraphobject from this graph
This will create a new
PyDiGraphobject from this graph. All edges in this graph will result in a bidirectional edge pair in the output graph.
The node indices in the output
PyDiGraphmay differ if nodes have been removed.