layout.graphopt() is broken, use another layout function, like layout.drl()
or layout.fruchterman.reingold(), or even layout.auto().

Gabor


On Fri, Jan 11, 2013 at 6:10 AM, Biau David <[email protected]> wrote:

> OK thanks.
>
> first part works, second part (layout) no. It kindly ask me how I want to
> close R... but that'll do great for now. Thanks,
>
> David Biau
>
>   *De :* Tamas Nepusz <[email protected]>
> *À :* [email protected]
> *Envoyé le :* Mercredi 9 janvier 2013 13h59
> *Objet :* Re: [igraph] circle shape
>
> > - I would like to tune the shape of circle vertices: i would like to
> remove
> > the black line around the circles
> Use vertex.frame.color=NA as an argument to plot().
> See ?igraph.plotting for more details about the additional options you can
> pass there.
>
> > - I would like to be able to spread out the network as I like. FOr now, I
> > cannot and because my network has many vertices, it seems too condensed.
> igraph has quite a few layout algorithms that you can use; see ?layout for
> more details. You can use these to calculate a layout for your graph and
> then pass them to plot(). E.g.:
>
> layout <- layout.graphopt(graph)
> plot(graph, layout=layout)
>
> By the way, the result of the layout function is "just" a matrix with X-Y
> coordinates in each row, so you can do with them whatever you want to make
> your layout more pleasant. You can also use tkplot() to get an interactive
> plot where you can drag the nodes around to get a suitable arrangement.
>
> Cheers,
> Tamas
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>


-- 
Gabor Csardi <[email protected]>     MTA KFKI RMKI
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to