edge.coord | R Documentation |
Generates coordinates as a data.frame suitable for ggplot2's geom_segment. This function is not super efficient and should be upgraded.
edge.coord(graph, layout)
graph |
a igraph network object |
layout |
a two-column numerical matrix with coordinates for each vertex of graph |
an edge list as a matrix with coordinates of the start and end vertices for each edge.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.