software · Q1053
igraph
Network-analysis libraries with a C core and interfaces including Python and R.
Overview
igraph is a family of network-analysis tools built around a C library, with interfaces including R and Python. It provides graph construction, algorithms and visualization integrations. The interfaces and C core have separate release histories, so a feature or version number should be tied to the component actually used.[1][2]
A library family
The C core and its language interfaces support creating graphs, manipulating them and running network analyses. The Python interface also integrates plotting through Cairo, Matplotlib and Plotly. These are library workflows embedded in scripts or notebooks, rather than evidence of a standalone graphical analysis desktop. Component releases need to be tracked separately when a workflow combines packages.[1][2]
Vertex numbers are positional
Python igraph numbers vertices consecutively. Deleting a vertex renumbers subsequent vertices and changes the endpoint numbers of affected edges. A stored integer vertex position is therefore not a reliable long-lived identifier after structural edits. Workflows joining results back to external data need an explicit naming or identifier attribute instead of assuming that the original numeric positions survive.[3]
NetworkX conversion metadata
The Python conversion helper assigns new igraph IDs while preserving NetworkX node identities in a dedicated attribute, normally _nx_name. Multiedge keys have their own metadata attribute. Conversion back can infer an appropriate NetworkX graph class and use the stored names. The documented round-trip guarantee depends on these conventions; discarding or repurposing identity attributes can undermine that route.[4]
Read and write support differ
The tutorial lists formats individually for reading and writing. In the documented Python interface, Graphviz DOT is a writer route without a corresponding reader, while UCINET DL is a reader without a corresponding writer. Formats also preserve different attributes: GraphML or GML can retain numeric and string properties, whereas a simple edge list is much narrower. A format's appearance in a support table should not imply symmetrical exchange.[3]
Core and rendering dependencies
Recommended binary packages bundle the Python interface with its matching C core for Windows, Linux and macOS. A source-built interface is guaranteed only with its bundled core version or referenced core revision. Plotting adds another dependency layer: the installation guide identifies Cairo-related failures and a Matplotlib alternative. Successful graph computation does not by itself verify that a selected plotting backend is installed.[5]
Licensing and substitution
igraph code is released under GPL version 2 or later. It can substitute for NetworkX in supported programmatic network analyses, with an explicit conversion route in Python. The assessment does not imply identical function signatures, default conventions or performance. Before replacing a pipeline, compare the graph model, identity mapping, required attributes and exact analytical methods.[1][4][6]
Capabilities & limitations
Programmatic graph algorithms
supportedThe library family provides network manipulation and analysis through several language interfaces.[1][2]
Programmatic graph construction, analysis and visualization · Windows, macOS, Linux · Version, build and integration requirements apply
2 sources · check evidence
Interface family, GPL2-or-later and separate C/Python/R release histories
vendor · checked 2026-10-07Graph manipulation, conversions and plotting backends
vendor · checked 2026-10-07Stable positional IDs after deletion
unsupportedDeleting a vertex renumbers later vertices; applications should not treat positional IDs as persistent external identifiers.[3]
Programmatic graph construction, analysis and visualization · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Vertex renumbering and asymmetric file reader/writer support
vendor · checked 2026-10-07NetworkX conversion
limitedThe Python adapter preserves original names and multiedge keys through dedicated attributes; those attributes matter for round trips.[4]
Programmatic graph construction, analysis and visualization · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
from_networkx/to_networkx identity metadata
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
NetworkX for Programmatic graph construction, analysis and visualization
limitedCan replace supported scripted network analyses and provides Python conversion helpers. Algorithms, node identity and component versions need checking; it is not a drop-in replacement for NetworkX APIs or every arbitrary Python attribute.[2][4][6]
Windows, macOS, Linux · Version, build and integration requirements apply
References
- igraph project and release history
Interface family, GPL2-or-later and separate C/Python/R release histories
vendor · retrieved 2026-10-07 - Python igraph overview
Graph manipulation, conversions and plotting backends
vendor · retrieved 2026-10-07 - Python igraph tutorial
Vertex renumbering and asymmetric file reader/writer support
vendor · retrieved 2026-10-07 - Python igraph Graph API
from_networkx/to_networkx identity metadata
vendor · retrieved 2026-10-07 - Python igraph installation
Binary platforms, matching C core and plotting dependencies
vendor · retrieved 2026-10-07 - NetworkX introduction
Python graph models and attributes
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 1101 | 2026-10-13 20:10:37 | /* wbeditentity-create-item:0| */ sf:55649e6f-d8ca-47d3-b36c-8274c6bb5980:v1 | Adds igraph with interface-specific scope, renumbered vertex IDs, NetworkX conversion metadata, asymmetric format support and matching-core deployment. | attribution: /proposals/55649e6f-d8ca-47d3-b36c-8274c6bb5980 |