powered by
Incident edges
incident_edges(graph, mode = c("out", "in", "all", "total"))
A list of data frames, each a set of edges.
Input graph.
Whether to use out edges, in edges or all edges.
out
in
all
G <- graph(list(A = c("B", "C"), B = "C", C = "A")) incident_edges(G, mode = "out") incident_edges(G, mode = "in") incident_edges(G, mode = "all")
Run the code above in your browser using DataLab