igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Layout tutorial


From: Tamás Nepusz
Subject: Re: [igraph] Layout tutorial
Date: Wed, 14 Mar 2012 10:28:30 +0100

> I am new to igraph. Specifically, I would like to have any graph laid out 
> consistently in the same way each time. Each time I do a plot(g) of a 
> specific graph g, it is arranged differently. I would like an approach that 
> wors with any graph.

You can use one of the layout functions (Graph.layout_* in Python, layout.* in 
R) to calculate a layout without plotting the graph. You can then plot the 
graph with the pre-calculated layout by supplying it to the layout=… keyword 
argument.

Cheers,
T.




reply via email to

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