layout.drl (graph, use.seed = FALSE, seed = matrix(runif(vcount(graph) *
2), ncol = 2), options = igraph.drl.default, weights = E(graph)$weight,
fixed = NULL, dim = 2)seed argument as a starting point.use.seed is TRUE. It is ignored
otherwise.NULL here if you
want to weight edges equally. By default the weight edge
attribute is used if the graph has one.TRUE are kept at the coordinates
supplied in the seed matrix. It is ignored it NULL or
if use.seed is F The generator has the following parameters:
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],There are five pre-defined parameter settings as well, these are
called igraph.drl.default, igraph.drl.coarsen,
igraph.drl.coarsest, igraph.drl.refine and
igraph.drl.final.
layout for other layout generators.g <- as.undirected(ba.game(100, m=1))
l <- layout.drl(g, options=list(simmer.attraction=0))
plot(g, layout=l, vertex.size=3, vertex.label=NA)Run the code above in your browser using DataLab