igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] plotting vertices in reference to a x-axis


From: Gábor Csárdi
Subject: Re: [igraph] plotting vertices in reference to a x-axis
Date: Sun, 17 Nov 2013 07:14:49 -0500

On Sun, Nov 17, 2013 at 6:34 AM, Hermann Norpois <address@hidden> wrote:
[...]
> Is there an algorithm I should test?

With layout.fruchterman.reingold() you can vary the y coordinates
while fixing the x, with somthing like

layout.fruchterman.reingold(g, minx=0, maxx=0)

so you can try this. Obviously, if you have too many edges, then there
is no way that you can arrange the graph and keep all of them nicely
visible.

> Otherwise I will check if "reasonable" y-values might be produced by
> assigning for instance
> the mean of the weights for each vertex.
>
> By the way, how do I get all edges (or weights) of a vertix?

I suggest you read through these:

http://igraph.sourceforge.net/doc/R/graph.structure.html
http://igraph.sourceforge.net/doc/R/aaa-igraph-package.html

Gabor

[...]



reply via email to

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