Description Usage Arguments Details Value Author(s) References See Also Examples
DrL is a forcedirected graph layout toolbox focused on realworld largescale graphs, developed by Shawn Martin and colleagues at Sandia National Laboratories.
1 2 3 4 5 6 7 8 9 10 11 
graph 
The input graph, in can be directed or undirected. 
use.seed 
Logical scalar, whether to use the coordinates given in the

seed 
A matrix with two columns, the starting coordinates for the
vertices is 
options 
Options for the layout generator, a named list. See details below. 
weights 
Optional edge weights. Supply 
fixed 
Logical vector, it can be used to fix some vertices. All
vertices for which it is 
dim 
Either ‘2’ or ‘3’, it specifies whether we want a two dimensional or a three dimensional layout. Note that because of the nature of the DrL algorithm, the three dimensional layout takes significantly longer to compute. 
... 
Passed to 
This function implements the forcedirected DrL layout generator.
The generator has the following parameters:
Edge cutting is done in the late stages of the algorithm in order to achieve less dense layouts. Edges are cut if there is a lot of stress on them (a large value in the objective function sum). The edge cutting parameter is a value between 0 and 1 with 0 representing no edge cutting and 1 representing maximal edge cutting.
Number of iterations in the first phase.
Start temperature, first phase.
Attraction, first phase.
Damping, first phase.
Number of iterations, liquid phase.
Start temperature, liquid phase.
Attraction, liquid phase.
Damping, liquid phase.
Number of iterations, expansion phase.
Start temperature, expansion phase.
Attraction, expansion phase.
Damping, expansion phase.
Number of iterations, cooldown phase.
Start temperature, cooldown phase.
Attraction, cooldown phase.
Damping, cooldown phase.
Number of iterations, crunch phase.
Start temperature, crunch phase.
Attraction, crunch phase.
Damping, crunch phase.
Number of iterations, simmer phase.
Start temperature, simmer phase.
Attraction, simmer phase.
Damping, simmer phase.
There are five predefined parameter settings as well, these are called
drl_defaults$default
, drl_defaults$coarsen
,
drl_defaults$coarsest
, drl_defaults$refine
and
drl_defaults$final
.
A numeric matrix with two columns.
Shawn Martin (http://www.cs.otago.ac.nz/homepages/smartin/) and Gabor Csardi csardi.gabor@gmail.com for the R/igraph interface and the three dimensional version.
See the following technical report: Martin, S., Brown, W.M., Klavans, R., Boyack, K.W., DrL: Distributed Recursive (Graph) Layout. SAND Reports, 2008. 2936: p. 110.
layout
for other layout generators.
1 2 3 4 5 6  g < as.undirected(sample_pa(100, m=1))
l < layout_with_drl(g, options=list(simmer.attraction=0))
## Not run:
plot(g, layout=l, vertex.size=3, vertex.label=NA)
## End(Not run)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.