Description Usage Arguments Value See Also Examples

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))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.