graph.nodes | R Documentation |
Return root, end, or branchpoints of an igraph object
graph.nodes(
x,
type = c("root", "end", "branch"),
original.ids = "label",
exclude.isolated = TRUE
)
x |
An igraph object |
type |
one of root, end (which includes root) or branch |
original.ids |
Use named attribute to return original vertex ids (when available). Set to FALSE when this is not desired. |
exclude.isolated |
Do not count isolated vertices as root points (default) |
Note that the graph must be directed in order to return a root point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.