igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Can we plot the edges of a digraph separately as arcs?


From: Gábor Csárdi
Subject: Re: [igraph] Can we plot the edges of a digraph separately as arcs?
Date: Wed, 29 Oct 2008 19:47:14 +0100

David, this is unfortunately not possible with igraph, it cannot draw
arcs. You may try the 'sna' R package, it has more sophisticated
plotting than igraph. We might implement arcs in the near future....

Best,
Gabor

On Wed, Oct 29, 2008 at 6:28 PM,  <address@hidden> wrote:
> If I have a directed graph and want to label or color the two edges
> between two vertices differently, how can I make them arcs?
>
> example
> Take your g from graph.data.frame and add an edge
>> g <- add.edges(g, c(0,1), attr=list(same.dept=FALSE, friendship=2,
> advice=1))
>> E(g)$label <- E(g)$advice
>> plot(g)
>
> I would like to have different widths or colors for the two edges
> between A and B.
> Is it possible to show them separately?
>
> Thanks in advance,
> David L. Reiner
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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