Convert a dodgr graph to an igraph.

dodgr_to_igraph(graph, weight_column = "d")

Arguments

graph

A dodgr graph

weight_column

The column of the dodgr network to use as the edge weights in the igraph representation.

Value

The igraph equivalent of the input. Note that this will not be a dual-weighted graph.

See also

Examples

graph <- weight_streetnet (hampi) graphi <- dodgr_to_igraph (graph)