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.
TraversalΒΆ
Get an edge list of the tree edges from a depth-first traversal |
|
Return the BFS layers of a graph as a list of lists. |
|
Depth-first traversal of a directed/undirected graph with several source vertices. |
|
|
Return successors in a breadth-first-search from a source node. |
|
Return predecessors in a breadth-first-search from a source node. |
Breadth-first traversal of a directed/undirected graph with several source vertices. |
|
Dijkstra traversal of a graph with several source vertices. |
|
Return a random path (or random walk) on a graph. |
|
|
Return the topological sort of node indices from the provided directed graph. |
Get the lexicographical topological sorted nodes from the provided directed graph. |
|
|
Retrieve all descendants of a specified node in a directed graph. |
|
Retrieve all ancestors of a specified node in a directed graph. |
|
Collect runs that match a filter function |
|
Collect runs that match a filter function given edge colors. |
A visitor object that is invoked at the event-points inside the |
|
A visitor object that is invoked at the event-points inside the |
|
A visitor object that is invoked at the event-points inside the |
|
|
Provides functionality to topologically sort a directed graph. |