View source: R/nodes.R View source: R/extendr-wrappers.R View source: R/extendr-wrappers.R
nodes | R Documentation |
Returns the unique nodes in the graph
nodes(graph, ...)
graph |
A directed or directed acyclic graph |
... |
Reserved for later use |
A character vector with the nodes
graph <- graph_builder() |>
add_edge(from = "A", to = "B") |>
build_directed()
graph
nodes(graph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.