View source: R/fortify-igraph.R
fortify.igraph | R Documentation |
igraph
Fortify method for networks of class igraph
## S3 method for class 'igraph'
fortify(
model,
data = NULL,
layout = igraph::nicely(),
arrow.gap = ifelse(igraph::is.directed(model), 0.025, 0),
by = NULL,
scale = TRUE,
stringsAsFactors = getOption("stringsAsFactors", FALSE),
...
)
model |
an object of class |
data |
not used by this method. |
layout |
a function call to an
|
arrow.gap |
a parameter that will shorten the network edges in order to
avoid overplotting edge arrows and nodes; defaults to |
by |
a character vector that matches an edge attribute, which will be
used to generate a data frame that can be plotted with
|
scale |
whether to (re)scale the layout coordinates. Defaults to
|
stringsAsFactors |
whether vertex and edge attributes should be
converted to factors if they are of class |
... |
additional parameters for the |
a data.frame
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.