Announcement: NetworkX 2.2

We’re happy to announce the release of NetworkX 2.2! NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.

For more information, please visit our website and our gallery of examples. Please send comments and questions to the networkx-discuss mailing list.


This release is the result of X of work with over X pull requests by X contributors. Highlights include:


Cyclic references between graph classes and views have been removed to ease subclassing without memory leaks. Graphs no longer hold references to view.

Cyclic references between a graph and itself have been removed by eliminating G.root_graph. It turns out this was an avoidable construct anyway.

API Changes

empty_graph has taken over the functionality from nx.convert._prep_create_using which was removed.

create_using should now be a Graph Constructor like nx.Graph or nx.DiGraph. It can still be a graph class which will be cleared before use, but the preferred use is a constructor.


Contributors to this release

<output of>

Pull requests merged in this release

<output of>