plot.neighborhood_graph: Static plot of package dependencies

View source: R/core.R

plot.neighborhood_graphR Documentation

Static plot of package dependencies

Description

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

Usage

## 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

## Not run: 
init()
get_neighborhood("mboost") |>
  as_graph() |>
  plot()

## End(Not run)

pkggraph documentation built on April 22, 2026, 5:09 p.m.