matlab-igraph

A toolbox that brings the power of the igraph C library to MATLAB.

For a quick start see Getting Started and the installation guide. Getting started also exists as a live script that can be loaded into MATLAB once the toolbox is installed.

⚠️
This project is still in early development and may be difficult to set up. Any help getting the toolbox running in different environments would be much appreciated. Please use the github issue tracker to start a discussion.

Introduction

The igraph library provides a large number of efficient routines written in C and C++ for working with graphs. This toolbox wraps many of those routines for use inside MATLAB, extending igraph access to the MATLAB community.

This toolbox aims to follow MATLAB conventions and take advantage of MATLAB's builtin matrix syntax to make a seamless integration between igraph and MATLAB. As such, the toolbox uses plain matrices to store the graphs. This has some limitations, specifically, this means there is currently no way to track metadata about a graph (such as it's directedness) or a way to work with igraph's attributes. But, by using matrices, graphs fit comfortably into the MATLAB environment. It's possible to generate graphs using MATLAB's builtin functions that work as is with igraph's routines and work with graphs created by igraph directly in MATLAB using the functions you are already familiar with.

Citation

If you publish results generated with the help of this package, make sure to cite igraph:

Csardi, G., & Nepusz, T. (2006). The igraph software package for complex network research. InterJournal, Complex Systems, 1695.