Give me an edgelist and I'll help you plot a pretty damn arc diagram
arcplot(edgelist, vertices, sorted = FALSE, decreasing = FALSE,
ordering = NULL, labels = NULL, horizontal = TRUE, above = NULL,
col.arcs = "#5998ff77", lwd.arcs = 1.8, lty.arcs = 1, lend = 1,
ljoin = 2, lmitre = 1, show.nodes = TRUE, pch.nodes = 19,
cex.nodes = 1, col.nodes = "gray80", bg.nodes = "gray80",
lwd.nodes = 1, show.labels = TRUE, col.labels = "gray55",
cex.labels = 0.9, las = 2, font = 1, line = 0, outer = FALSE,
adj = NA, padj = NA, axes = FALSE, ...)basically a two-column matrix with edges
optional vector of vertex names corresponding with those in the edgelist
logical to indicate if nodes should be sorted
(default FALSE)
logical to indicate type of sorting
(used only when sorted=TRUE)
optional numeric or string vector providing the
ordering of nodes. When provided, this parameter overrides
sorted=TRUE). See the details section for more information.
optional string vector with labels for the nodes
logical indicating whether to plot in horizontal orientation
optional vector indicating which arcs should be displayed above (or to the right) and below (or to the left) of the axis
color for the arcs (default "gray50")
line width for the arcs (default 1)
line type for the arcs (see par)
the line end style for the arcs (see par)
the line join style for the arcs (see par)
the line mitre limit for the arcs (see par)
logical indicating whether to show node symbols
plotting 'character', i.e. symbol to use when
plotting nodes (pch.nodes=0:25)
expansion of the node symbols (default 1)
color of the node symbols (default "gray50")
background (fill) color for the node symbols
given by pch.nodes=21:25
line width for drawing node symbols
(see points)
logical indicating whether to show node labels
color of the node labels (default "gray50")
expansion of node labels (default "gray50")
numeric in 0,1,2,3; the style of axis labels
(see par)
font used for node labels (see par)
on which margin line the node labels are displayed,
starting at 0 counting outwards (see mtext)
use outer margins, if available, to plot node labels
(see mtext)
adjustment for each string in reading direction
(see mtext)
adjustment for each string perpendicular to
the reading direction (see mtext)
logical indicating whether to plot the axes
(default FALSE)
further graphical parameters (see par), including
family, xpd, main, asp, etc.
The arcs are scaled such that they fit in a plot region with its
x-axis ranging from zero to one. Node symbols and labels can be
optionally displayed. Node symbols are displayed through
the function points. In turn, node labels are displayed
through the function mtext.
When ordering is provided in numeric format and node labels are
strings, the labels are alphabetically ordered first, and then nodes are
sorted according to the provided ordering.
If ordering is provided in string format, the node labels must be
strings as well. The nodes will be sorted according to ordering.