convert_edges {edgebundle}R Documentation

Convert edges

Description

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

Usage

convert_edges(object, coords)

## Default S3 method:
convert_edges(object, coords)

## S3 method for class 'igraph'
convert_edges(object, coords)

## S3 method for class 'network'
convert_edges(object, coords)

## S3 method for class 'tbl_graph'
convert_edges(object, coords)

Arguments

object

graph object

coords

coordinates of vertices

Value

data frame of edges with coordinates

Author(s)

David Schoch


[Package edgebundle version 0.4.2 Index]