reno.diagrams#
Functions for generating stock & flow diagrams.
Diagrams are graphviz dot diagrams, and notably don’t follow the exact format typically used with SFDs. The biggest difference is sources and sinks aren’t explicitly represented.
Classes
|
A visual connection between nodes (references) in a stock and flow diagram. |
|
Parent class for any type of node representing a reference in a model. |
|
Node for a flow component. |
|
Node for a metric component. |
|
A graph representation of a model, where nodes are the components and the edges represent the connections between them based on their equations. |
|
Settings for what gets rendered in a stock and flow diagram. |
|
Node for a stock component. |
|
Edge between a stock and a inflow or outflow. |
|
Edge between a variable and a stock, where the variable is referenced in a limit/constraint (min/max) on the stock. |
|
Reference edge that connects to a flow. |
|
Reference edge that represents usage in a metric. |
|
Reference edge that connects to a variable. |
|
Node for a variable component. |