Use this if you are using igraph from R

delete_edges {igraph} | R Documentation |

Delete edges from a graph

```
delete_edges(graph, edges)
```

`graph` |
The input graph. |

`edges` |
The edges to remove, specified as an edge sequence. |

The graph, with the edges removed.

Other functions for manipulating graph structure:
`+.igraph()`

,
`add_edges()`

,
`add_vertices()`

,
`delete_vertices()`

,
`edge()`

,
`igraph-minus`

,
`path()`

,
`vertex()`

```
g <- make_ring(10) %>%
delete_edges(seq(1, 9, by = 2))
g
g <- make_ring(10) %>%
delete_edges("10|1")
g
```

[Package *igraph* version 1.3.2 Index]