get_periphery {DiagrammeR} | R Documentation |
Get those nodes that are part of the graph periphery (i.e., have the maximum eccentricity in the graph).
get_periphery(graph)
graph |
a graph object of class
|
a vector of node IDs.
## Not run: # Get the nodes that are in the graph periphery # of a randomly-created graph create_random_graph( n = 15, m = 24, set_seed = 23) %>% get_periphery() #> [1] 3 6 ## End(Not run)