Simplify a spatial network by removing multiple edges and loops.
Source:R/network.R
simplify_network.Rd
Simplify the graph, removing loops and double-edge connections following this approach. When dropping multiple edges, keep the shortest ones.