Usage
visualization(graph, layout = c("reingold.tilford", "circle", "random", "fruchterman.reingold", "sphere", "kamada.kawai", "lgl"), node.fill.color = "SkyBlue2", node.border.color = "Black", node.shape = c("circle", "square", "sphere", "csquare", "rectangle", "crectangle", "vrectangle", "none", "pie", "raster"), node.size = 15, node.label = "name", node.label.color = 1, node.label.size = 0.8, node.label.position = 0, edge.shape = 1, edge.width = 1, edge.color = "gray1", ...)
Arguments
layout
Mode of the layout, possible values are fruchterman.reingold
, reingold.tilford
, random
, circle
, kamada.kawai
, lgl
and sphere
. See igraph for more information.
node.fill.color
The fill color of the vertex. Default value is SkyBlue2
.
node.border.color
Border color the the vertex. Default value is Black
.
node.shape
Shape of the vertex. currently circle
, square
, csquare
, rectangle
, crectangl
, vrectangle
and none
are supported.
node.size
Size of the vertex. Default value is 15
.
node.label
Label of the vertex. Specify NA
to omit vertex labels. Default value is the vertex name.
node.label.color
Color of labels of the vertex. Default value is 1
.
node.label.size
Font size of the vertex label. Default value is 0.8
.
node.label.position
Positon of the vertex label. Default value is 0
.
edge.shape
Shape of the edge. Default value is 1
.
edge.width
Width of the edge. Default value is 1
.
edge.color
Color of the edge. Default value is gray1
.