You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add method to retrieve incoming edge indices for a node
* Add type annotations in stub file
* Add tests for in_edge_indices
* Add method to get outgoing edge indices for a node
* Add in_edge_indices and out_edge_indices methods in PyGraph
* update stub file
* Add tests for out_edge_indices and in_edge_indices
* Add release notes for in_edge_indices and out_edge_indices functions
* Change releasenote name
Added two new functions, :func:`~rustworkx.in_edge_indices` and
4
+
:func:`~rustworkx.out_edge_indices`, to the ``rustworkx.PyDiGraph`` class. These functions return the indices of all incoming and outgoing edges for a given node in a directed graph, respectively.
5
+
- |
6
+
Added two new functions, :func:`~rustworkx.in_edge_indices` and
7
+
:func:`~rustworkx.out_edge_indices`, to the ``rustworkx.PyGraph`` class. As ``PyGraph`` is an undirected graph, both functions return the indices of all edges connected to the given node. This maintains API consistency with the directed graph implementation.
0 commit comments