Skip to content

igraph 0.10.0

Compare
Choose a tag to compare
@ntamas ntamas released this 06 Sep 06:31
20ead61

Added

  • More robust support for Matplotlib and initial support for plotly as graph plotting backends, controlled by a configuration option. See PR #425 for more details.

  • Added support for additional ways to construct a graph, such as from a dictionary of dictionaries, and to export a graph object back to those data structures. See PR #434 for more details.

  • Graph.list_triangles() lists all triangles in a graph.

  • Graph.reverse_edges() reverses some or all edges of a graph.

  • Graph.Degree_Sequence() now supports the "no_multiple_uniform" generation method, which generates simple graphs, sampled uniformly, using rejection sampling.

  • Graph.Lattice() now supports per-dimension periodicity control.

  • Graph.get_adjacency() now allows the user to specify whether loop edges should be counted once or twice, or not at all.

  • Graph.get_laplacian() now supports left-, right- and symmetric normalization.

Changed

  • The C core of igraph was updated to version 0.10.0.

  • We now publish abi3 wheels on PyPI from CPython 3.9 onwards, making it possible to use an already-built Python wheel with newer minor Python releases (and also reducing the number of wheels we actually need to publish). Releases for CPython 3.7 and 3.8 still use version-specific wheels because the code of the C part of the extension contains conditional macros for CPython 3.7 and 3.8.

  • Changed default value of the use_vids=... argument of Graph.DataFrame() to True, thanks to @fwitter.

  • Graph.Degree_Sequence() now accepts all sorts of sequences as inputs, not only lists.

Fixed

  • The Matplotlib backend now allows edge_color and edge_width to be set
    on an edge-by-edge basis.

Removed

  • Dropped support for Python 3.6.

  • Removed deprecated UbiGraphDrawer.

  • Removed deprecated show() method of Plot instances as well as the feature that automatically shows the plot when plot() is called with no target.

  • Removed the eids keyword argument of get_adjacency().

Deprecated

  • Graph.clusters() is now deprecated; use Graph.connected_components() or its already existing shorter alias, Graph.components().

  • Graph.shortest_paths() is now deprecated; use Graph.distances() instead.