Version 2.2.16 of graph-tool released!
This release contains major improvements and bug fixes. Highlights include a completely new graph_draw() function, which is based on cairo and GTK+3, has an interactive window, and no longer requires graphviz (the old function is still available as graphviz_draw()), implementation of the SFDP mulilevel layout algorithm, and support for reading and writing in GML format. Get it in the download section.
What is graph-tool?
graph-tool is an efficient python module for manipulation and statistical analysis of graphs (a.k.a. networks). Contrary to most other python modules with similar functionality, the core data structures and algorithms are implemented in C++, making extensive use of template metaprogramming, based heavily on the Boost Graph Library. This confers a level of performance which is comparable (both in memory usage and computation time) to that of a pure C++ library.
With graph-tool you can do the following:
|
|
graph-tool is fast!
Despite its nice, soft outer appearance of a regular python module, the core algorithms and data structures of graph-tool are written in C++, making use of the Boost Graph Library and template metaprogramming, with performance in mind. Most of the time, you can expect the algorithms to run just as fast as if graph-tool were a pure C++ library.
Furthermore, many algorithms are implemented in parallel using OpenMP, which provides excellent performance on multi-core architectures, without degrading the performance on single-core machines.
graph-tool is fully documented!
Every single function in the module is documented in the docstrings and in the online documentation, which is full of examples.
Getting started
You should probably start by the quick start guide, which gives a short overview of the basic features, with some usage examples.
Downloading it
You can get it from the download page. From there you can grab the latest release.
Problems and bugs
See the support page for instructions on how to submit bugs or ask for help.
Related software
See the related software list, for some information of other software out there which is somehow related to graph-tool.
Authorship and license
graph-tool was written by Tiago de Paula Peixoto and is free software, released under the GPL.



