Setting up the visualization

Syntax of {ggraph}:

ggraph() %>%
   ggraph::geom_<functions>

it will choose an appropriate layout based on the type of graph you provide.

Getting Started guide to layouts