Learn R Programming

SpaDES (version 1.3.1)

objectDiagram: Simulation object dependency diagram

Description

Create a sequence diagram illustrating the data object dependencies of a simulation. Offers a more detailed view of specific objects than does plotting the depsEdgeList directly with moduleDiagram.

Usage

objectDiagram(sim, ...)

# S4 method for simList objectDiagram(sim, ...)

Arguments

sim

A simList object (typically corresponding to a completed simulation).

...

Additional arguments passed to mermaid. Useful for specifying height and width.

Value

Plots a sequence diagram, invisibly returning a mermaid object.

See Also

mermaid.