Simplify a built network object by removing parallel edges (and loops)
simplify_network(net, keep_edge = c("first", "shortest"))A network list with updated `edges`, `graph`, and `A` (and the same `nodes`).
A network list returned by [build_network()].
Which edge to keep when multiple edges connect the same unordered node pair. One of "first" or "shortest".