edge_bundle_hammer {edgebundle}R Documentation

hammer edge bundling

Description

Implements the hammer edge bundling by Ian Calvert.

Usage

edge_bundle_hammer(object, xy, bw = 0.05, decay = 0.7)

Arguments

object

a graph object (igraph/network/tbl_graph)

xy

coordinates of vertices

bw

bandwidth parameter

decay

decay parameter

Details

This function only wraps existing python code from the datashader library. Original code can be found at https://gitlab.com/ianjcalvert/edgehammer. Datashader is a huge library with a lot of dependencies, so think twice if you want to install it just for edge bundling. Check https://datashader.org/user_guide/Networks.html for help concerning parameters bw and decay. To install all dependencies, use install_bundle_py.

see online for plotting tips

Value

data.frame containing the bundled edges

Author(s)

David Schoch

See Also

edge_bundle_force,edge_bundle_stub, edge_bundle_path


[Package edgebundle version 0.4.2 Index]