convert_edges: Convert edges

View source: R/convert_edges.R

convert_edgesR 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


edgebundle documentation built on May 29, 2024, 1:37 a.m.