Plots a group of igraph edges with a given weight. Only a single weight can be used, a limitation of igraph. Plot edges of multiple weights with multiple calls (see: draw_interchange)
1 2 | draw_edge_group(df, verts, layout, arrow.scaling = 2,
edge_color = "#FFFFFF8F")
|
df |
Data frame with a vector of "edge" strings (e.g., "FRCC SERC") that specify the source and destination, and a vector of "weights" that specify the size of the interchange from source to destination. |
verts |
vector of vertex labels |
layout |
vector of vertex positions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.