Description Usage Arguments Value

You will usually not need to call this function directly. `greedy_search`

will use it to apply the supplied edge bundle and distance attributes to the
graph. This function is exposed as a convenience in case you wish to access
those attributes on the graph.

1 | ```
decorate_graph(graph, edge_bundles, distances)
``` |

`graph` |
An |

`edge_bundles` |
A list of integer vectors. Each list item will be considered one edge bundle, and each vector the edge indices belonging to that bundle. |

`distances` |
Double. A vector of length |

A `pathfinder_graph`

object.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.