[BioC] Graph Layout

Li Long lilong at isb-sib.ch
Wed Feb 1 10:55:47 CET 2006


>> Hi,
>>
>>  I want to draw graph using a spring-embedding.
>>
>>  Regards,
>>  Kaustubh
>
> This takes a little bit of programming.  The following
> is far from an ideal design, but gives some of the flavor
> of how you can use the RBGL layout functions.  As far
> as I can tell there are three: circle.layout,
> kamada.kawai.spring.layout, and fruchtermanReingoldForceDirectedLayout.
> I am not sure the latter is behaving correctly, but the first
> two are.


The latter (fruchtermanReingoldForceDirectedLayout) is a lot more
sensitive to input parameters, sometimes, it does make one wonder if it
works correctly.  It will be discussed in more details in the vignette.

Li



More information about the Bioconductor mailing list