Remove multiple edges from a graph

1 |

`graph` |
Input graph. |

Graph, without the multiple edges. (More precisely, from each set of multiple edges, only one, the first one, is kept.)

Other multigraphs: `is_loopy`

,
`is_multigraph`

, `is_simple`

,
`remove_loops`

, `simplify`

1 2 3 | ```
G <- graph(list(A = c("A", "B", "B"), B = c("A", "C"), C = "A"))
is_multigraph(G)
is_multigraph(remove_multiple(G))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.