get.edge.ids()
was renamed to get_edge_ids()
to create a more
consistent API.
get.edge.ids(graph, vp, directed = TRUE, error = FALSE, multi = deprecated())
The input graph.
The incident vertices, given as vertex ids or symbolic vertex names. They are interpreted pairwise, i.e. the first and second are used for the first edge, the third and fourth for the second, etc.
Logical scalar, whether to consider edge directions in directed graphs. This argument is ignored for undirected graphs.
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).