igraph 0.10.5
Added
-
The
plot()
function now takes abackend
keyword argument that can be used to specify the plotting backend explicitly. -
The
VertexClustering
object returned fromGraph.community_leiden()
now contains an extra property namedquality
that stores the value of the internal quality function optimized by the algorithm. -
Graph.Adjacency()
andGraph.Weighted_Adjacency()
now supportsloops="once"
,loops="twice"
andloops="ignore"
to control how loop edges are handled in a more granular way.loops=True
andloops=False
keep on working as in earlier versions. -
Added
Graph.get_shortest_path()
as a convenience function for cases when only one shortest path is needed between a given source and target vertices. -
Added
Graph.get_shortest_path_astar()
to calculate the shortest path between two vertices using the A-star algorithm and an appropriate heuristic function. -
Added
Graph.count_automorphisms()
to count the number of automorphisms of a graph andGraph.automorphism_group()
to calculate the generators of the automorphism group of a graph. -
The
VertexCover
constructor now allows referring to vertices by names instead of IDs.
Fixed
-
resolution
parameter is now correctly taken into account when callingGraph.modularity()
-
VertexClustering.giant()
now accepts the null graph. The giant component of a null graph is the null graph according to our conventions. -
Graph.layout_reingold_tilford()
now accepts vertex names in theroots=...
keyword argument. -
The plotting of curved directed edges with the Cairo backend is now fixed; arrowheads were placed at the wrong position before this fix.
Changed
- The C core of igraph was updated to version 0.10.5.
Removed
- Removed defunct
Graph.community_leading_eigenvector_naive()
method. Not a breaking change because it was already removed from the C core a long time ago so the function in the Python interface did not do anything useful either.