Convert a igraph network to an equivalent dodgr representation.

igraph_to_dodgr(graph)

Arguments

graph

An igraph network

Value

The dodgr equivalent of the input.

See also

Examples

graph <- weight_streetnet (hampi) graphi <- dodgr_to_igraph (graph) graph2 <- igraph_to_dodgr (graphi) identical (graph2, graph) # FALSE
#> [1] FALSE