Re: [R] [Fwd: Re: controlling the edge linewidth in Rgraphviz]

From: Florian Hahne <fhahne_at_fhcrc.org>
Date: Tue, 12 Feb 2008 10:40:35 -0800

Hi Adrian,
even better would be this:
1.) Install the latest Rgraphviz devel version 2.) Use the new API for graph rendering: library(Rgraphviz)
example(randomEGraph)
x <- layoutGraph(g1)
graph.par(list(edges=list(lwd=2))) # if you want to set lwd=2 for the whole session
# or if you just want to change this for your one graph: renderGraph(x, graph.pars=list(edges=list(lwd=2)))

There is a Vignette that explains all the new stuff. Florian
> http://finzi.psych.upenn.edu/R/Rhelp02a/archive/111006.html
>
> On Feb 11, 2008 9:56 PM, Adrian Dragulescu <adrian_d_at_eskimo.com> wrote:
>
>> Hello,
>>
>> I would like to have different linewidths for the edges of my graph. I
>> read the documentation but could not find how to control this. On the
>> Graphviz help page I've seen that there is something called "penwidth" but I
>> could not find it in the R edge attributes.
>>
>> Thanks a lot for any help.
>>
>> Adrian Dragulescu
>>
>> ______________________________________________
>> R-help_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>

-- 
Florian Hahne, PhD
Computational Biology Program
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M2-B876
PO Box 19024
Seattle, Washington 98109-1024
206-667-3148
fhahne_at_fhcrc.org

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 12 Feb 2008 - 19:00:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Feb 2008 - 19:30:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive