Skip to contents

[Deprecated]

get.edge.ids() was renamed to get_edge_ids() to create a more consistent API.

Usage

get.edge.ids(graph, vp, directed = TRUE, error = FALSE, multi = deprecated())

Arguments

graph

The input graph.

vp

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.

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

[Deprecated]