Implements the hammer edge bundling by Ian Calvert.

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

Value

data.frame containing the bundled edges

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

See also

Author

David Schoch