coords
plot
plot.igraph
.
In igraph a vertex shape is defined by a function that 1) provides
information about the size of the shape for clipping the edges and 2)
plots the shape if requested. These functions are called Shape functions have a mode
clip
plot
In clipping mode a shape function has the following arguments:
el
argument.}
coords
.}
clip
vertex
edge
plot
both
from
to
from
el
edge list, to
both
igraph.plotting
, plot.igraph
g <- graph.ring(10, dir=TRUE, mut=TRUE)
plot(g, vertex.shape="rectangle", layout=layout.circle)
Run the code above in your browser using DataLab