Skip to contents

[Deprecated]

delete.edges() was renamed to delete_edges() to create a more consistent API.

Usage

delete.edges(graph, edges)

Arguments

graph

The input graph.

edges

The edges to remove, specified as an edge sequence. Typically this is either a numeric vector containing edge IDs, or a character vector containing the IDs or names of the source and target vertices, separated by |. A two-column matrix or data frame is also accepted, each row giving the two endpoints of an edge to remove.

delete_edges(), get_eids(), ecount(), vcount(), edges()