Usage
layout_with_fr(graph, coords = NULL, dim = 2, niter = 500,
start.temp = sqrt(vcount(graph)), grid = c("auto", "grid", "nogrid"),
weights = NULL, minx = NULL, maxx = NULL, miny = NULL, maxy = NULL,
minz = NULL, maxz = NULL, coolexp, maxdelta, area, repulserad, maxiter)with_fr(...)
Arguments
graph
The graph to lay out. Edge directions are ignored.
coords
Optional starting positions for the vertices. If this argument
is not NULL
then it should be an appropriate matrix of starting
coordinates.
dim
Integer scalar, 2 or 3, the dimension of the layout. Two
dimensional layouts are places on a plane, three dimensional ones in the 3d
space.
niter
Integer scalar, the number of iterations to perform.
start.temp
Real scalar, the start temperature. This is the maximum
amount of movement alloved along one axis, within one step, for a vertex.
Currently it is decreased linearly to zero during the iteration.
grid
Character scalar, whether to use the faster, but less accurate
grid based implementation of the algorithm. By default (auto), the
grid-based implementation is used if the graph has more than one thousand
vertices.
weights
A vector giving edge weights. The weight
edge
attribute is used by default, if present. If weights are given, then the
attraction along the edges will be multiplied by the given edge weights.
minx
If not NULL
, then it must be a numeric vector that gives
lower boundaries for the x coordinates of the vertices. The length
of the vector must match the number of vertices in the graph.
maxx
Similar to minx
, but gives the upper boundaries.
miny
Similar to minx
, but gives the lower boundaries of the
y coordinates.
maxy
Similar to minx
, but gives the upper boundaries of the
y coordinates.
minz
Similar to minx
, but gives the lower boundaries of the
z coordinates.
maxz
Similar to minx
, but gives the upper boundaries of the
z coordinates.
coolexp,maxdelta,area,repulserad
These arguments are not supported
from igraph version 0.8.0 and are ignored (with a warning).
maxiter
A deprecated synonym of niter
, for compatibility.
...
Passed to layout_with_fr
.