converts edges of an igraph/network/tidygraph object into format useable for edge bundling
Usage
convert_edges(object, coords)
# S3 method for default
convert_edges(object, coords)
# S3 method for igraph
convert_edges(object, coords)
# S3 method for network
convert_edges(object, coords)
# S3 method for tbl_graph
convert_edges(object, coords)
Arguments
- object
graph object
- coords
coordinates of vertices
Value
data frame of edges with coordinates