igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] keep vertex positions stable when doing fr plots


From: Matteo Zandi
Subject: Re: [igraph] keep vertex positions stable when doing fr plots
Date: Sat, 20 Dec 2008 14:46:20 +0100

On Fri, Dec 19, 2008 at 12:13 AM, Tamas Nepusz <address@hidden> wrote:
real_layout = self.g.layout("fr", seed = self.g.vs['fr_seed_coords'])
plot.add(self.g, layout=real_layout, ...)

thanks, this works perfectly when resizing the window, when changing the size/weight threshold vertex are more stable but not completely fixed, that's probably impossible to achieve.
 
By the way, I checked your code related to the integration of PyGtk and igraph for graph plotting. Nice job! In fact, one of the reasons why I chose Cairo for plotting was that I knew that it can be integrated with GTK somehow, but I never had the time to figure out how to do it exactly, so thanks again!

No problem, I switched from R sna library to igraph because of this. It's a great feature.

Ciao,
Matteo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]