get.edge.ids()
was renamed to get_edge_ids()
to create a more
consistent API.
Arguments
- graph
The input graph.
- vp
The incident vertices, given as a two-column data frame, two-column matrix, or vector of vertex ids or symbolic vertex names. For a vector, the values are interpreted pairwise, i.e. the first and second are used for the first edge, the third and fourth for the second, etc.
- directed
Logical scalar, whether to consider edge directions in directed graphs. This argument is ignored for undirected graphs.
- error
Logical scalar, whether to report an error if an edge is not found in the graph. If
FALSE
, then no error is reported, and zero is returned for the non-existant edge(s).- multi