xsimlab.Model.visualize¶
-
Model.
visualize
(show_only_variable=None, show_inputs=False, show_variables=False)¶ Render the model as a graph using dot (require graphviz).
- Parameters
show_only_variable (tuple, optional) – Show only a variable (and all other variables sharing the same value) given as a tuple
(process_name, variable_name)
. Deactivated by default.show_inputs (bool, optional) – If True, show all input variables in the graph (default: False). Ignored if show_only_variable is not None.
show_variables (bool, optional) – If True, show also the other variables (default: False). Ignored if
show_only_variable
is not None.
See also
dot.dot_graph()