View source: R/plot-attributes.R
nodes | R Documentation |
Provides access to the nodes
element of a
sem_graph
object. This can be used to return or assign to the
nodes
element.
nodes(x)
nodes(x) <- value
x |
Object of class sem_graph. |
value |
A valid value for |
data.frame
edg <- data.frame(from = "x", to = "y")
p <- prepare_graph(edges = edg, layout = get_layout("x", "y", rows = 1))
nodes(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.