visualize_path: Visualize the optimal route

View source: R/visualize_path.R

visualize_pathR Documentation

Visualize the optimal route

Description

Plots the optimal route using ggplot2

Usage

visualize_path(epath, graph)

Arguments

epath

igraph.es object containing the route

graph

tbl_graph object with the network used to calculate the route

Value

ggplot of optimal route within the network


kjetilhaukas/shortestpath documentation built on April 28, 2022, 12:06 a.m.