igraph 0.10.5
Added
-
The
plot()function now takes abackendkeyword argument that can be used to specify the plotting backend explicitly. -
The
VertexClusteringobject returned fromGraph.community_leiden()now contains an extra property namedqualitythat 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=Trueandloops=Falsekeep 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
VertexCoverconstructor now allows referring to vertices by names instead of IDs.
Fixed
-
resolutionparameter 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.