All functions |
|
---|---|
Add default aestethic settings to the variables and flows data frames. Helper function called by prepare_diagram |
|
Add x,y location information Helper function called by prepare_diagram. Likely not useful for direct calling. |
|
Add explicit plus signs to flows. Used by prepare_diagram. |
|
Helper function to perform basic checks of the variables and flows data frames. Returns errors if found. |
|
Check model_list input for prepare_diagram for correctness. |
|
Check optional model_settings input for prepare_diagram for correctness. |
|
Convert modelbuilder list object to list for modeldiagram |
|
Adjust arrow positions to avoid overlaps. helper function for prepare_diagram that is only applied to arrows from nowhere or to nowhere (e.g., birth or death arrows). |
|
flowdiagramr: A package to create flow diagrams |
|
Returns the ggplot2 code so that this can be in one place |
|
Extract the variables and parameters from a flow. used by prepare_diagram |
|
Make a ggplot2 model diagram. |
|
Create data frames for plotting from model elements. |
|
Sets the curvature values for curved arrows. used by prepare_diagram |
|
Sets the curvature values for feedback arrows |
|
Set to and from values to NA if value not present in nodes df |
|
Test whether settings are the correct length. |
|
Updates the aesthetics settings in the variables and flows data frames |
|
Updates the numeric to/from ids to the variable label |
|
Generate a reproducible R script to make the diagram. |