11"""
22 GUI(case::Case; kwargs...)
3+ GUI(case::Dict; kwargs...)
34
4- Initialize the EnergyModelsGUI window and visualize the topology of a system `case` \
5+ Initialize the ` EnergyModelsGUI` window and visualize the topology of a system `case`
56(and optionally visualize its results in a JuMP object model). The input argument can either
6- be a `Case` object from the EnergyModelsBase package or a dictionary containing system-related
7- data stored as key-value pairs. This dictionary is corresponding to the the old EnergyModelsX
8- `case` dictionary.
7+ be a [ `Case`](@extref EnergyModelsBase.Case) instance from the ` EnergyModelsBase` package or
8+ a dictionary containing system-related data stored as key-value pairs. The latter corresponds
9+ to the old EnergyModelsX `case` dictionary.
910
1011# Keyword arguments:
1112
1213- **`design_path::String=""`** is a file path or identifier related to the design.
1314- **`id_to_color_map::Dict=Dict()`** is a dict that maps `Resource`s `id` to colors.
1415- **`id_to_icon_map::Dict=Dict()`** is a dict that maps `Node/Area` `id` to .png files for icons.
1516- **`model::Union{JuMP.Model, String}`** is the solved JuMP model with results for the `case`,
16- but can also be the path (String) to the directory containing the JuMP results written as CSV-files.
17+ but can also be the path (`String`) to the directory containing the JuMP results written as
18+ CSV-files.
1719- **`hide_topo_ax_decorations::Bool=true`** is a visibility toggle of ticks, ticklabels and
1820 grids for the topology axis.
1921- **`expand_all::Bool=false`** is the default option for toggling visibility of all nodes
@@ -37,9 +39,9 @@ data stored as key-value pairs. This dictionary is corresponding to the the old
3739- **`colormap::Vector=Makie.wong_colors()`** is the colormap used for plotting results.
3840- **`tol::Float64=1e-12`** the tolerance for numbers close to machine epsilon precision.
3941
40- !!! warning "Reading model results from csv -files"
41- Reading model results from a directory (i.e., `model::String`) do not support more than
42- three indices for variables (i.e., when results are read from .csv-files) .
42+ !!! warning "Reading model results from CSV -files"
43+ Reading model results from a directory (* i.e.* , `model::String` implying that the results
44+ are stored in CSV-files) does not support more than three indices for variables .
4345"""
4446function GUI (
4547 case:: Case ;
0 commit comments