Reference articles on history, science, culture and more
Encyclopedia

Igraph

Free library software for graphs

igraph is a library collection for creating and manipulating graphs and analyzing networks. It is written in C and also exists as Python and R packages. There exists moreover an interface for Mathematica. The software is widely used in academic research in network science and related fields. The publication that introduces the software has 13502 citations as of July 3, 2024 (2024-07-03) according to Google Scholar.

igraph was originally developed by Gábor Csárdi and Tamás Nepusz. It is written in the C programming language in order to achieve good performance and it is freely available under GNU General Public License Version 2.

01Basic properties

The three most important properties of igraph that shaped its development are as follows:

An example of a graph created using igraph, representing the email network of the Enron Corpus
An example of a graph created using igraph, representing the email network of the Enron Corpus

02Characteristics

The software is open source, source code can be downloaded from the project's GitHub page. There are several open source software packages that use igraph functions. As an example, R packages tnet, igraphtosonia and cccd depend on igraph R package. Users can use igraph on many operating systems. The C library and R and Python packages need the respective software, otherwise igraph is portable. The C library of igraph is well documented as well as the R package and the Python package

03Functions

igraph can be used to generate graphs, compute centrality measures and path length based properties as well as graph components and graph motifs. It also can be used for degree-preserving randomization. igraph can read and write file formats such as Pajek, GraphML, LGL, NCOL, DIMACS, and GML, as well as simple edge lists. The library contains several layout tools as well.

Watch videos about IgraphExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Igraph, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Images, from Wikimedia Commons:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.