Learn R Programming

isotracer (version 1.1.8)

ggtopo.networkModel: Plot a network topology

Description

A quick plot using ggraph

Usage

# S3 method for networkModel
ggtopo(x, layout = "auto", edge = "fan", ...)

Value

A ggplot2 plot.

Arguments

x

A topology matrix.

layout

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

edge

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

...

Not used for now.

Examples

Run this code
if (requireNamespace("ggraph")) {
  ggtopo(aquarium_mod, edge = "line")
  ggtopo(trini_mod)
}

Run the code above in your browser using DataLab