forked from Qiskit/rustworkx
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit starts the preparation for the 0.9.0 release. It moves all the release notes for the release into a separate folder (to distinguish them from notes for future releases) and also reworks the content of the release notes and updates the documentation for the release. This commit should be the last one merged before releasing 0.9.0 to ensure we've moved and updated all the release notes before the release. Partially implements Qiskit#328
- Loading branch information
Showing
39 changed files
with
240 additions
and
67 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _networkx: | ||
|
||
########################### | ||
retworkx for networkx users | ||
########################### | ||
|
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
23 changes: 23 additions & 0 deletions
23
releasenotes/notes/0.9.0/add-binomial-tree-graph-generator-1f6ff6ba3809b901.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,23 @@ | ||
--- | ||
features: | ||
- | | ||
Added a new generator functions, | ||
:func:`retworkx.generators.binomial_tree_graph` and | ||
:func:`retworkx.generators.directed_binomial_tree_graph`, for constructing | ||
a binomial tree graph. For example: | ||
.. jupyter-execute:: | ||
import retworkx | ||
from retworkx.visualization import mpl_draw | ||
graph = retworkx.generators.binomial_tree_graph(4) | ||
mpl_draw(graph) | ||
.. jupyter-execute:: | ||
import retworkx | ||
from retworkx.visualization import mpl_draw | ||
graph = retworkx.generators.directed_binomial_tree_graph(4) | ||
mpl_draw(graph) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
releasenotes/notes/0.9.0/add-random-geometric-graph-ef131e3955c6b178.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,14 @@ | ||
--- | ||
features: | ||
- | | ||
Added new function :func:`~retworkx.random_geometric_graph` which can be | ||
used to generate random geometric graphs. For example: | ||
.. jupyter-execute:: | ||
import retworkx | ||
from retworkx.visualization import mpl_draw | ||
graph = retworkx.random_geometric_graph(8, .95, 5) | ||
mpl_draw(graph) |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ansitivity-function-c32d2bbbf3857c40.yaml → ...ansitivity-function-c32d2bbbf3857c40.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
features: | ||
- | | ||
A new function, :func:`~retworkx.transitivity` was added to | ||
Added new function, :func:`~retworkx.transitivity` was added to | ||
calculate the transitivity coefficient of a :class:`~retworkx.PyGraph` | ||
and a :class:`~retworkx.PyDiGraph`. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
releasenotes/notes/0.9.0/expand-isomorphism-cfb646cfef66fa25.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,14 @@ | ||
--- | ||
features: | ||
- | | ||
The :func:`~retworkx.is_isomorphic` function has been expanded so it can | ||
now also take in a :class:`~retworkx.PyGraph` in addition to the | ||
the :class:`~retworkx.PyDiGraph` already supported. | ||
- | | ||
The :func:`~retworkx.is_isomorphic` function now has two new optional | ||
kwargs ``node_matcher`` and ``edge_matcher`` which can be used to specify | ||
functions to use for comparing node and edge data payloads. | ||
- | | ||
The :func:`~retworkx.is_isomorphic_node_match` function has been expanded | ||
so it can take in a :class:`~retworkx.PyGraph` in addition to the | ||
:class:`~retworkx.PyDiGraph` it already supported. |
23 changes: 23 additions & 0 deletions
23
releasenotes/notes/0.9.0/extend-generators-07a5d34d5e637a6a.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,23 @@ | ||
--- | ||
features: | ||
- | | ||
Added new generator functions, | ||
:func:`retworkx.generators.directed_hexagonal_lattice_graph` and | ||
:func:`retworkx.generators.hexagonal_lattice_graph`, for constructing a | ||
hexagonal lattice graph. For example: | ||
.. jupyter-execute:: | ||
import retworkx | ||
from retworkx.visualization import mpl_draw | ||
graph = retworkx.generators.directed_hexagonal_lattice_graph(3, 3) | ||
mpl_draw(graph) | ||
.. jupyter-execute:: | ||
import retworkx | ||
from retworkx.visualization import mpl_draw | ||
graph = retworkx.generators.hexagonal_lattice_graph(3, 3) | ||
mpl_draw(graph) |
8 changes: 8 additions & 0 deletions
8
releasenotes/notes/0.9.0/find-successors-by-d3589b1b1d0b1633.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,8 @@ | ||
--- | ||
features: | ||
- | | ||
Added two new methods, :meth:`~retworkx.PyDiGraph.find_successors_by_edge` | ||
and :meth:`~retworkx.PyDiGraph.find_predecessors_by_edge`, were added to | ||
:class:`~retworkx.PyDiGraph`. These methods efficiently retrieve the | ||
neighbors in the graph which are connected to a node with edges matching a | ||
filter function. |
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
releasenotes/notes/0.9.0/is-isomorphic-matching-order-be0cfa8b796cd55c.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,11 @@ | ||
--- | ||
features: | ||
- | | ||
The :func:`~retworkx.is_isomorphic` and | ||
:func:`~retworkx.is_isomorphic_node_match` functions have a new kwarg, | ||
``id_order`` which is used to adjust the node matching order used. | ||
If you set ``id_order=False`` then the matching order used is the heuristic | ||
matching order proposed in the | ||
`VF2++ paper <http://bolyai.cs.elte.hu/egres/tr/egres-18-03.pdf>`__. If you | ||
want to retain use the order based on node ids, you can set | ||
``id_order=True`` which is the default behavior. |
11 changes: 11 additions & 0 deletions
11
releasenotes/notes/0.9.0/minimum-spanning-tree-4afa29b3c0dbd2fb.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,11 @@ | ||
--- | ||
features: | ||
- | | ||
Added new function, :func:`~retworkx.minimum_spanning_tree`, to calculate the | ||
minimum spanning tree of a :class:`~retworkx.PyGraph` object and return the | ||
MST as a new :class:`~retworkx.PyGraph` object. | ||
- | | ||
Added a new function, :func:`~retworkx.minimum_spanning_edges`, to calculate | ||
the minimum spanning tree of a :class:`~retworkx.PyGraph` object and return | ||
the :class:`~retworkx.WeightedEdgeList` for the weighted edge list of the | ||
MST of a graph. |
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
releasenotes/notes/0.9.0/prepare-0.9-dab64f0197fc6233.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,11 @@ | ||
--- | ||
prelude: | | ||
This release is a new feature release that includes a plethora of new | ||
features and bug fixes. The highlights of this release are the introduction | ||
of the :mod:`retwork.visualization` module, which includes a | ||
`matplotlib <https://matplotlib.org/>`__ based drawer | ||
(:func:`~retworkx.visualization.mpl_draw`), and layout functions such | ||
as :func:`~retworkx.spring_layout` for generating a layout in | ||
visualization. Additionally, the generator functions in | ||
:mod:`retworkx.generators` have been expanded to include new graph | ||
generators, and new algorithm functions have been added. |
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 function, :func:`~retworkx.spring_layout` to generate layouts | ||
for :class:`~retworkx.PyGraph` and :class:`~retworkx.PyDiGraph` | ||
using the `Fruchterman-Reingold force-directed algorithm | ||
<https://onlinelibrary.wiley.com/doi/abs/10.1002/spe.4380211102>`__. |
File renamed without changes.
4 changes: 0 additions & 4 deletions
4
releasenotes/notes/add-binomial-tree-graph-generator-1f6ff6ba3809b901.yaml
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
releasenotes/notes/add-random-geometric-graph-ef131e3955c6b178.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
releasenotes/notes/is-isomorphic-matching-order-be0cfa8b796cd55c.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
releasenotes/notes/minimum-spanning-tree-4afa29b3c0dbd2fb.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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.