I solved the problem by installing the python bindings for graphviz. I did
not installed it as appears as optional in the documentation.
I tried to draw a 250,000 nodes graph and my machine run out of memory (it
has 3GB). Have you tested what is the maximum graph size to be drawn in
First of all thank you for graph-tool, on my humble opinion one of the bests
tools for graphs manipulation in open source.
I have two basic problems I hope you can resolve.
First I am trying to draw a graph using the draw_graph function, but
something seems to be wrong in the code. This is my code:
import sys, os
from pylab import *
from graph_tool.Graph import *
g = load_graph("mygraph.dot")
I get the following error:
graph_draw(g, pos, size, pin, layout, maxiter, ratio, overlap, sep, splines,
vsize, penwidth, elen, gprops, vprops, eprops, vcolor, ecolor, vcmap, vnorm,
ecmap, enorm, output, output_format, returngv, fork, seed)
239 gvg = gv.digraph("G")
--> 241 gvg = gv.graph("G")
243 if pos != None:
NameError: global name 'gv' is not defined
I am using the last release from the git repository. Is this a problem from
the repository version (non stable I suppose) or is this a problem in my
code or installed libraries? I had no problem during the compilation, and I
have already tested other functions such as the local_clustering and seem to
Second. I have tried to use the condensational_graph function to compare
some community_structures. But this function seems missing, is this some
problem regarding with the non stable version, or it is my fault?
Thank you very much.
Is there any planned date for a stable release of graph-tool at this
point? The current requirements, particularly GCC 4.4 and > 1 GB of
ram, are out of reach for me currently, and I would love to be able to
just grab a package.