Learn R Programming

SpaDES.core (version 2.0.5)

depsGraph: Build a module dependency graph

Description

Build a module dependency graph

Usage

depsGraph(sim, plot)

# S4 method for simList,logical depsGraph(sim, plot)

# S4 method for simList,missing depsGraph(sim)

Value

An igraph() object.

Arguments

sim

A simList object.

plot

Logical indicating whether the edgelist (and subsequent graph) will be used for plotting. If TRUE, duplicated rows (i.e., multiple object dependencies between modules) are removed so that only a single arrow is drawn connecting the modules. Default is FALSE.

Author

Alex Chubaty