-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add diagrams for C4 model showing the different components for ribasim, the preprocessing API, and the QGIS plugin. We could go even further and make a detailed diagram of the different modules that are connected to each other. But these diagrams already give an overview of the components that are involved in the system. --------- Co-authored-by: Martijn Visser <[email protected]>
- Loading branch information
1 parent
8e67335
commit ac48bb4
Showing
4 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
flowchart TB | ||
modeler([Modeler]):::user | ||
|
||
api["Ribasim Python\n[python]"]:::system | ||
modeler-->|prepare model|api | ||
|
||
subgraph ribasimBoundary[Ribasim] | ||
ribasim["Ribasim.jl\n[julia]"]:::system | ||
libribasim["libribasim\n[julia + python + BMI]"]:::system | ||
cli["Ribasim CLI\n[julia]"]:::system | ||
cli-->ribasim | ||
libribasim-->ribasim | ||
end | ||
modeler-->|start|cli | ||
modeler-->|coupled simulation|libribasim | ||
|
||
subgraph qgisBoundary[QGIS] | ||
QGIS[QGIS Application]:::system_ext | ||
qgisPlugin["Ribasim QGIS plugin\n[python]"]:::system | ||
QGIS-->qgisPlugin | ||
end | ||
modeler-->|prepare model|qgisBoundary | ||
|
||
model[("input model data\n[toml + geopackage + arrow]")]:::system | ||
qgisPlugin-->|read/write|model | ||
api-->|read/write|model | ||
ribasim-->|simulate|model | ||
|
||
output[("simulation output\n[arrow]")]:::system | ||
ribasim-->|write|output | ||
|
||
class qgisBoundary,ribasimBoundary boundary | ||
|
||
%% class definitions for C4 model | ||
classDef default stroke-width:1px,stroke:white,color:white | ||
classDef system fill:#1168bd | ||
classDef user fill:#08427b | ||
classDef system_ext fill:#999999 | ||
classDef boundary fill:transparent,stroke-dasharray:5 5,stroke:black,color:black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
flowchart TB | ||
modeler([Modeler]):::user | ||
|
||
api["Ribasim Python\n[python]"]:::system | ||
modeler-->|prepare model|api | ||
|
||
ribasim["Ribasim\n[julia]"]:::system | ||
modeler-->|start|ribasim | ||
|
||
subgraph qgisBoundary[QGIS] | ||
QGIS[QGIS Application]:::system_ext | ||
qgisPlugin["Ribasim QGIS plugin\n[python]"]:::system | ||
QGIS-->qgisPlugin | ||
end | ||
modeler-->|prepare model|qgisBoundary | ||
|
||
model[("input model data\n[toml + geopackage + arrow]")]:::system | ||
qgisPlugin-->|read/write|model | ||
api-->|read/write|model | ||
ribasim-->|simulate|model | ||
|
||
output[("simulation results\n[arrow]")]:::system | ||
ribasim-->|write|output | ||
|
||
class qgisBoundary boundary | ||
|
||
%% class definitions for C4 model | ||
classDef default stroke-width:1px,stroke:white,color:white | ||
classDef system fill:#1168bd | ||
classDef user fill:#08427b | ||
classDef system_ext fill:#999999 | ||
classDef boundary fill:transparent,stroke-dasharray:5 5,stroke:black,color:black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters