Entering edit mode
                    Li Long
        
    
        ▴
    
    120
        @li-long-1469
        Last seen 11.2 years ago
        
    >> 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
                    
                
                