Graph may have duplicated edges, particularly when extracted as dodgr_streetnet objects. This function de-duplicates any repeated edges, reducing weighted distances and times to the minimal values from all duplicates.
dodgr_deduplicate_graph(graph)
A potentially modified version of graph, with any formerly duplicated edges reduces to single rows containing minimal weighted distances and times.
Any 'dodgr' graph or network.
Other conversion:
dodgr_to_igraph()
,
dodgr_to_sf()
,
dodgr_to_sfc()
,
dodgr_to_tidygraph()
,
igraph_to_dodgr()