Graph tool

From MetaCentrum
Jump to: navigation, search


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 it a level of performance that is comparable (both in memory usage and computation time) to that of a pure C/C++ library.


Mathematical and statistical modelling


Version 2.16


Graph-tool is released under the GPLv3.


module add graph-tool-2.16

Please note: Module GTK of version 3 and higher is not installed at MetaCentrum now, therefore you probably receive this runtime warning:

RuntimeWarning: Error importing Gtk module: No module named gi; GTK+ drawing will not work.

Graph-tool can be run even without this module -- GTK module is optional and only very limited number of graph-tool methods directly depends on it.



Program manager