-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into move_layers
- Loading branch information
Showing
7 changed files
with
413 additions
and
88 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
releasenotes/notes/fix-digraph-find-cycle-141e302ff4a8fcd4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed the behavior of :func:`~rustworkx.digraph_find_cycle` when | ||
no source node was provided. Previously, the function would start looking | ||
for a cycle at an arbitrary node which was not guaranteed to return a cycle. | ||
Now, the function will smartly choose a source node to start the search from | ||
such that if a cycle exists, it will be found. | ||
other: | ||
- | | ||
The `rustworkx-core` function `rustworkx_core::connectivity::find_cycle` now | ||
requires the `petgraph::visit::Visitable` trait. |
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/migrate-longest_path-7c11cf2c8ac9781f.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
features: | ||
- | | ||
Added a new module ``dag_algo`` to rustworkx-core which contains a new function ``longest_path`` | ||
function to rustworkx-core. Previously the ``longest_path`` functionality for DAGs was only exposed | ||
via the Python interface. Now Rust users can take advantage of this functionality in rustworkx-core. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.