igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Problem again


From: Moses Boudourides
Subject: Re: [igraph] Problem again
Date: Thu, 19 May 2011 11:02:19 +0200

Hi Gabor,

Does the curved edges function accept any parameters to define the
extent of curving?

Best,

--Moses


On Wed, May 18, 2011 at 8:00 PM, Moses Boudourides
<address@hidden> wrote:
> Hmm.. I'm not sure if I can do this (now that I need to finish what
> I'm writing in a couple of days). However, I've just tried with only
> double edges (where one is the original graph edge and the second is
> some minimal order induced edge) and it works.
>
> The only thing will possibly make it look better is if I could control
> the curvature of the curved edges (I mean, I'd like to make them less
> curved). Is there a parameter to do this?
>
> Thanks again Gabor,
>
> --Moses
>
> On Wed, May 18, 2011 at 7:44 PM, Gábor Csárdi <address@hidden> wrote:
>> Then, I guess the simplest is to create the graph from a data frame,
>> with columns 'from', 'to', 'lty', 'curved', 'color', etc.
>> Then you can use graph.data.frame() to create the graph with the
>> appropriate edge attributes.
>>
>> Gabor
>>
>> On Wed, May 18, 2011 at 1:30 PM, Moses Boudourides
>> <address@hidden> wrote:
>>> Hi,
>>>
>>> Let me first describe what I'm trying to plot. It is a graph, some of
>>> its edges being multiple, actually in more than three copies.
>>> Something like this:
>>>
>>> g <- graph( c( 0,1, 0,1, 0,1, 0,2, 0,2, 0,2, 1,2, 1,2), directed=FALSE )
>>>
>>> Now the first edges 0,1 and 0,2 I want them non-curved and gray, while
>>> all the other edges curved and colored differently (say 0,1, 0,2, 1,2
>>> blue and 0,1, 0,2, 1,2 green).
>>>
>>> What confuses me is that the first time 1,2 appears, I wanted to be
>>> curved, while not for the first time of the others.
>>>
>>> Can this be done?
>>>
>>> --Moses
>>>
>>> _______________________________________________
>>> igraph-help mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>>>
>>
>>
>>
>> --
>> Gabor Csardi <address@hidden>     MTA KFKI RMKI
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>



reply via email to

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