powered by
This function is similar to incident, but it queries multiple vertices at once.
incident
incident_edges(graph, v, mode = c("out", "in", "all", "total"))
A list of edge sequences.
Input graph.
The vertices to query
Whether to query outgoing (‘out’), incoming (‘in’) edges, or both types (‘all’). This is ignored for undirected graphs.
Other structural queries: [.igraph(), [[.igraph(), adjacent_vertices(), are_adjacent(), ends(), get.edge.ids(), gorder(), gsize(), head_of(), incident(), is_directed(), neighbors(), tail_of()
[.igraph()
[[.igraph()
adjacent_vertices()
are_adjacent()
ends()
get.edge.ids()
gorder()
gsize()
head_of()
incident()
is_directed()
neighbors()
tail_of()
g <- make_graph("Zachary") incident_edges(g, c(1, 34))
Run the code above in your browser using DataLab