igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Using layout.fruchterman.reingold() to compare two graph


From: Tamás Nepusz
Subject: Re: [igraph] Using layout.fruchterman.reingold() to compare two graph
Date: Thu, 2 Jan 2014 15:11:03 +0100

> In my mind, the ideal way of doing this is starting with the layout 
> layout.fruchterman.reingold(A), then add a few edges and do a few more 
> iterations on the layout to get the layout for graph B. Could anyone help me 
> with this?

layout.fruchtermain.reingold() has a parameter named “start” where you can pass 
a two-column matrix with the initial positions of the vertices. You may also 
want to specify the “niter” parameter for the second call in order to run a few 
iterations only instead of 500 (the default).

T.



reply via email to

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