| is_directed | R Documentation |
Check whether a graph is directed
is_directed(graph)
graph |
The input graph |
Logical scalar, whether the graph is directed.
Other structural queries:
[.igraph(),
[[.igraph(),
adjacent_vertices(),
are_adjacent(),
ends(),
get_edge_ids(),
gorder(),
gsize(),
head_of(),
incident(),
incident_edges(),
neighbors(),
tail_of()
g <- make_ring(10)
is_directed(g)
g2 <- make_ring(10, directed = TRUE)
is_directed(g2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.