|
From: | Tamas Nepusz |
Subject: | Re: [igraph] keep vertex positions stable when doing fr plots |
Date: | Sat, 20 Dec 2008 20:09:47 +0000 |
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.You can try experimenting with redrawing the graph after every 10 Fruchterman-Reingold iterations or so (and of course passing the _previously shown_ layout as seed to the calculation). igraph performs 500 iterations per default, but you can control that by the maxiter keyword argument passed to Graph.layout.
-- Tamas
[Prev in Thread] | Current Thread | [Next in Thread] |