With C igraph we can create a graph from an adjacency list with igraph_adjlist
.
It there a way to create a graph from an incidence list ?
Unfortunately no such functionality is implemented. Feel free to open an issue at https://github.org/igraph/igraph to suggest such a feature. Alternatively, if you want to discuss it, the igraph
project recently opened a new forum to facilitate discussions, see https://igraph.discourse.group.