This function simplifies a Konigsbergr graph by reducing the graph to a simpler representation where intersections are directly connected by straight edges.
simplify_konigsbergr(graph, preserve_bridges = TRUE)
A Konigsbergr graph created from
Boolean. Preserve full bridge geometry?
A simple, undirected
This reduces to a simple, undirected graph, so note that the distinction
between two-way and one-way roads will be discarded. The sum of the total
distances of the removed edges are maintained, however. The real-world road
distance in meters along an edge will be saved in the
attribute of the new graph.
This function relies on the simplify_topology() function from the pathfinder package.