This package simlifies the plot.igraph function for faster plotting of igraph objects
igplot(
g,
layout = NULL,
directed = FALSE,
bg_col = "white",
plot_opts = list(),
outfile = NULL,
width = 7,
height = 7,
return_data = FALSE,
plot = TRUE,
corp = FALSE
)an igraph object, a matrix or data.table object with two columns containing the edgelist, or a igplotdat object
either a string that is equal to the igraph function that creates the layout (e.g., "layout_with_fr") or a two-dimensional matrix of the coordinates of the vertices
boolean; if g is not an igraph object, indicates whether the edgelist is directed or not
background color
a named list containing plotting options (see details)
path to file
width of the pdf file (in inches)
height of the pdf file (in inches)
whether to return the data
whether to create the plot
boolean; if TRUE corps the image to the positions of nodes
Currently, the following options are supported for the plot_opts list:
v_frame, vertex frame color
v_lwd, vertex frame thickness
v_fill, vertex fill color
v_cex, vertex size
v_pch, vertex pch
e_col, edge color
e_lwd, edge linewidth
e_length, length of the arrow when directed is TRUE
e_angle, angle of the arrow when directed is TRUE