converts edges of an igraph/network/tidygraph object into format useable for edge bundling

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

Author

David Schoch