creates a simple graph from a multigraph
graph or network
Important: The networks package has been deprecated. Use the superseding package GraphTheory instead.
This procedure deletes loops in G and replaces multiple edges with a single edge of capacity equal to the combined capacities of the old edges.
A copy of the graph should be made using duplicate() if you wish to preserve the structure of the original graph.
The modified graph G is also returned as the value of the procedure call.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[gsimp](...).
Download Help Document
What kind of issue would you like to report? (Optional)