incident

0th

Percentile

Incident edges of a vertex in a graph

Incident edges of a vertex in a graph

Usage
incident(graph, v, mode = c("all", "out", "in", "total"))
Arguments
graph

The input graph.

v

The vertex of which the indicent edges are queried.

mode

Whether to query outgoing (‘out’), incoming (‘in’) edges, or both types (‘all’). This is ignored for undirected graphs.

Value

An edge sequence containing the incident edges of the input vertex.

See Also

Other structural queries: [.igraph; [[.igraph; adjacent_vertices; are.connected, are_adjacent; ecount, gsize; ends, get.edge, get.edges; get.edge.ids; gorder, vcount; head_of; incident_edges; is.directed, is_directed; neighbors; tail_of

Aliases
  • incident
Examples
# NOT RUN {
g <- make_graph("Zachary")
incident(g, 1)
incident(g, 34)
# }
Documentation reproduced from package igraph, version 1.0.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.