Plot of packages dependencies or neighborhood with edges colored by relation and node sized by 'centrality' from a neighborhood_graph obtained from as_graph.

# S3 method for class 'neighborhood_graph'
plot(x, layout = "sugiyama", ...)

Arguments

x

neighborhood_graph

layout

layout is passed to ggraph::ggraph

...

Not used

Value

ggraph plot

Examples

if (FALSE) { # \dontrun{
init()
get_neighborhood("tidySEM") |>
  as_graph() |>
  plot()
} # }