Create a network diagram illustrating the simplified module dependencies of a simulation. Offers a less detailed view of specific objects than does plotting the depsEdgeList directly with objectDiagram.

moduleDiagram(sim, type, showParents, ...)

# S4 method for simList,character,logical
moduleDiagram(sim, type, showParents, ...)

# S4 method for simList,missing,ANY
moduleDiagram(sim, type, showParents, ...)

Arguments

sim

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

type

Character string, either "rgl" for igraph::rglplot or "tk" for igraph::tkplot. Default missing, which uses regular plot.

showParents

Logical. If TRUE, then any children that are grouped into parent modules will be grouped together by colored blobs. Internally, this is calling moduleGraph. Default FALSE.

...

Additional arguments passed to plotting function specified by type.

Value

Plots module dependency diagram.

See also

igraph, moduleGraph for a version that accounts for parent and children module structure.