v0.6.0
0.6.0
This version is based on the 0.9 series of C/igraph.
Added:
IGHarmonicCentrality
andIGHarmonicCentralityCutoff
compute the harmonic centrality and range-limited harmonic centrality.IGLinkRank
andIGPersonalizedLinkRank
compute the equivalent of PageRank for edges.IGNeighborhoodCloseness
computes the range-limited closeness centrality, as well as the number of vertices reachable within the given range.IGFamousGraph
exposes the igraph C library's built-in graph database.IGPreferenceGame
andIGAsymmetricPreferenceGame
create non-growing random graphs based on vertex types.IGReingoldTilford
andIGReingoldTilfordCircular
now support theDirectedEdges
option.IGFruchtermanReingold
now supports constraining the coordinates of a subset of vertices.IGPercolationCurve
for efficiently computing the size of the largest component as a function of mean degree while removing edges.IGShortestPathTree
for computing a shortest path tree rooted in a given vertex.IGGraphEditor
is an experimental interactive graph editor.- Experimental progress reporting functionality through functions in the
IGraphM`Progress`
context.
Changed:
IGConnectedQ
andIGWeaklyConnectedQ
now consider the null graph to be disconnected; this is consistent with other functions such asIGTreeQ
.IGAveragePathLength
now has a"ByComponents"
option, controlling the handling of disconnected graphs.- Centrality functions:
IGCloseness
now computes the normalized closeness, i.e. the inverse of the mean distance to other vertices, by default. UseNormalized -> False
to get the previous behaviour.IGCloseness
now uses the distances only to reachable vertices when computing the closeness. In undirected disconnected graphs, it effectively computes the closeness per component. For isolated vertices (or sinks in directed graphs) it now returnsIndeterminate
.IGBetweenness
andIGBetweennessCentralization
no longer uses theMethod
option. The calculations are always fast and precise. The precision has been improved.IGBetweennessEstimate
,IGEdgeBetweennessEstimate
andIGClosenessEstimate
have been renamed toIGBetweennessCutoff
,IGEdgeBetweennessCutoff
andIGClosenessCutoff
.
IGRelativeNeighborhoodGraph
now assumes theβ -> 2
,β < 2
limit instead ofβ = 2
.IGGirth
now returnsInfinity
for the null graph.IGDiameter
now returnsIndeterminate
for the null graph.IGChordalQ
,IGChordalCompletion
andIGMaximumCardinalitySearch
now support non-simple graphs.IGReingoldTilford
andIGReingoldTilfordCircular
use a new automatic root selection algorithm. The root selection heuristic may change in the future without notice. Specify roots manually for a consistent result.IGPotentiallyConnectedQ
no longer supports directed sequences. This feature was flawed in 0.5. It may be re-added in a future version.IGLayoutKamadaKawai
andIGLayoutKamadaKawai3D
perform more iterations by default, and produce more pleasing layouts.IGPersonalizedPageRank
allows specifying the reset weights as an association from vertex names to values.- LAD isomorphism functions now support self-loops.
- Motif finder functions now support size 5 and 6 undirected motifs.
- The behaviour of the random number generator is now consistent between platforms, meaning that with a given seed, a randomized IGraph/M function will return the same result on all platforms. However, result will now be different from version 0.5 for the same seed.
Fixed:
IGPageRank
andIGPersonalizedPageRank
will now warn if the calculation did not converge with the"Arnoldi"
method. This happens only in rare cases.IGPersonalizedPageRank
: the default"PRPACK"
method returned an incorrect result when the graph was not connected and the personalization vector was not uniform.- Several community detection functions did not handle zero or one-vertex graphs correctly.
IGVertexMap
would evaluate the mapped functions twice instead of once.IGMaximumCardinalitySearch
returned incorrect ranks for graphs whose vertex names differed from their vertex indices.IGDistanceWeighted
no longer fails on edgeless graphs.IGCallawayTraisGame
no longer rejects zeros in the preference matrix.- An error would be triggered when some functions returned a zero-size matrix.
- Fixed a memory leak in the Nauty format reader.
IGMotifsVertexParticipation
would fail with Mathematica 12.2 or later.- Fixed a conflict with Mathematica 13.0's built-in isomorphism functions which could lead to a crash on Linux.
Other:
- IGraph/M now requires Mathematica 11.0 or later; on the Raspberry Pi it requires Wolfram Engine 12.2 or later.
- More robust error handling: when certain serious errors occur in the igraph C library, the Mathematica kernel is no longer forced to shut down.
- IGraph/M got leaner: smaller binary sizes.
- Documentation improvements.