On 12/03/2012 01:24 PM, Tiago Peixoto [via Main discussion list for the
graph-tool project] wrote:
> On 12/01/2012 12:54 AM, alepulver wrote:
> > Does it also happen to you:
> > pos = gt.random_layout(polysemy)
> > print "here"
> > gt.graph_draw(polysemy, pos=pos, output='ejercicio_5_gv.png')
> This took only about 2 seconds on my machine... I have no idea how it
> could take two hours.
I made a mistake. My program was also using "output_size=(10000,
10000)". With the default value it takes a few seconds.
But is it supposed to take so much when increasing output size? The most
expensive part should be calculating node positions, as you said.
> > I've attached a screenshot, which shows unused space in the image.
> > I would like to separate nodes as much as possible so that edges are
> > visible, or strech them to fit the picture at least.
> There is obviously something wrong with the bounding box
> calculation. I'll take a look into it.