``` r library(igraph) graph <- make_ring(10) neighbors(graph, numeric()) #> + 2/10 vertices: #> [1] 2 10 ```