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 get_periphery( create_random_graph( 15, 24, fully_connected = TRUE, set_seed = 20)) #> [1] 13 ## End(Not run)