A quick plot using ggraph

ggtopo(x, layout = "auto", edge = "fan", ...)

Arguments

x

A network model or a topology matrix.

layout

Optional, layout to use (e.g. "sugiyama", "kk", "stress")

edge

"fan" (the default) or "line" or "curve".

...

Passed to the methods.

Value

A ggplot2 plot.

Examples

if (requireNamespace("ggraph")) {
  ggtopo(aquarium_mod, edge = "line")
}
#> Using "stress" as default layout