python-igraph 0.8.3
This is the third release of the 0.8 series.
Added
-
Graph.community_leiden()
now supports a negative number of iterations; it will keep on iterating until the algorithm reaches a stable partition. -
Graph.Incidence()
now supports weighted graphs, thanks to @PuneethaPai (#303) -
You can now create a
Graph
object from apandas
dataframe withGraph.DataFrame
, thanks to @iosonofabio (#309) -
Added conversion to/from
networkx
andgraph-tool
withGraph.{to,from}_{networkx,graph_tool}
, thanks to @iosonofabio (#242) -
Graph.add_edges()
andGraph.add_vertices()
now supports specifying attributes for the newly added vertices and edges, thanks to @iosonofabio (#319) -
Added
Graph.dfs()
andGraph.dfsiter()
, thanks to @iosonofabio (#315) -
Added
Graph.bridges()
to get the bridges of a graph. -
Added
Graph.clear()
to remove all edges, vertices and graph attributes in a single call, thanks to @iosonofabio (#320)
Changed
-
Upgraded igraph C library to 0.8.3.
-
Graph union and intersection now supports graphs with vertex names, thanks to @iosonofabio (#310)
-
Graph.delete_vertices(None)
andGraph.delete_edges(None)
are now deprecated; useGraph.delete_vertices()
andGraph.delete_edges()
(without a positional argument) instead to delete all vertices or edges. The old syntax will be removed in 0.9.
Fixed
-
setup.py
now works on Windows with MinGW, thanks to @Parakoopa (#297) -
Graph.difference()
now treats loop edges correctly -
summary()
does not fail with non-string vertex names any more, thanks to @deeenes (#329) -
The Reingold-Tilford layout should not produce edge crossings on tree graphs any more.
-
The postprocessing step of
Graph.biconnected_components()
is much faster now (#281); the earlier version was responsible for a significant speed difference between the C core and the Python interface.
Other
-
Various documentation improvements, thanks to @chrisfalter, @iosonofabio, @kmankinen, @remysucre, @szhorvat (#308, #313, #314, #323, #324, #334)
-
Graph.complementer()
now allows keyword arguments (it used to support positional arguments only). -
Dropped support for Python 3.5, added support for Python 3.9.