delete_edges

0th

Percentile

Delete edges from a graph

Delete edges from a graph

Usage
delete_edges(graph, edges)
Arguments
graph

The input graph.

edges

The edges to remove, specified as an edge sequence.

Value

The graph, with the edges removed.

See Also

Other functions for manipulating graph structure: +.igraph; -.igraph, igraph-minus; add.edges, add_edges; add.vertices, add_vertices; delete.vertices, delete_vertices; edge, edges; path; vertex, vertices

Aliases
  • delete.edges
  • delete_edges
Examples
# NOT RUN {
g <- make_ring(10) %>%
  delete_edges(seq(1, 9, by = 2))
g

g <- make_ring(10) %>%
  delete_edges("10|1")
g
# }
Documentation reproduced from package igraph, version 1.0.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.