Install and start using the igraph library
igraph uses a CMake-based build system from version 0.9.0. It can be compiled and installed with the following list of commands:
igraph is also available in several package managers:
vcpkg install igraph
sudo port install igraph
brew install igraph
See the Installation chapter of the manual for more detailed instructions for building igraph from source. Windows-specific instructions are also provided there.
Note that igraph requires a dedicated build folder; in-tree builds are not supported.
examples/simple
directory.
The original XML DocBook format of the C Reference Manual can be obtained by downloading and building the latest igraph development version from GitHub.
Clone (or fork) the develop
branch from the
igraph git
repository on GitHub.
Post your question on the igraph support forum. Make sure that you include a minimal reproducible example, complete with code and data.
Post specific igraph questions on
Stack Overflow. Make sure that you include the
igraph
tag and that you include a minimal reproducible
example, complete with code and data.
Report bugs or suggest new features or algorithms in the GitHub issue tracker.
Your contribution is more than welcome!
Send a pull request on GitHub. Please note that igraph can contain only code that is compatible with its GPL license. See our guide on contributions to the igraph C library at GitHub.