objectDiagram | R Documentation |
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()
.
objectDiagram(sim, ...)
## S4 method for signature 'simList'
objectDiagram(sim, ...)
sim |
A |
... |
Additional arguments passed to |
Plots a sequence diagram, invisibly returning a DiagrammeR::mermaid
object.
Alex Chubaty
DiagrammeR::mermaid
.
if (requireNamespace("DiagrammeR", quietly = TRUE)) {
sim <- simInit()
objectDiagram(sim)
# if there are lots of objects, may need to increase width and/or height
objectDiagram(sim, height = 3000, width = 3000)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.