powered by
Incident vertices of some graph edges
ends(graph, es, names = TRUE)
The input graph
The sequence of edges to query
Whether to return vertex names or numeric vertex ids. By default vertex names are used.
A two column matrix of vertex names or vertex ids.
Other structural queries: [.igraph; [[.igraph; adjacent_vertices; are.connected, are_adjacent; ecount, gsize; get.edge.ids; gorder, vcount; head_of; incident_edges; incident; is.directed, is_directed; neighbors; tail_of
[.igraph
[[.igraph
adjacent_vertices
are.connected
are_adjacent
ecount
gsize
get.edge.ids
gorder
vcount
head_of
incident_edges
incident
is.directed
is_directed
neighbors
tail_of
# NOT RUN { g <- make_ring(5) ends(g, E(g)) # }
Run the code above in your browser using DataLab