user-guide:additional_interfaces
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| user-guide:additional_interfaces [2025/01/16 11:44] – [Additional User interfaces] Tim | user-guide:additional_interfaces [2025/06/04 12:40] (current) – tim2 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| @startuml | @startuml | ||
| hide footbox | hide footbox | ||
| - | title GUI | + | |
| User< | User< | ||
| @enduml | @enduml | ||
| Line 17: | Line 17: | ||
| @startuml | @startuml | ||
| hide footbox | hide footbox | ||
| + | title GUI | ||
| participant User | participant User | ||
| participant " | participant " | ||
| Line 30: | Line 30: | ||
| - | ====== Headless mode ====== | + | If you are not sure what interface |
| - | + | ||
| - | GroIMP can be started without its graphical | + | |
| - | + | ||
| - | < | + | |
| - | @startuml | + | |
| - | hide footbox | + | |
| - | title Headless | + | |
| - | + | ||
| - | User -> GroIMP: Start GroIMP with model | + | |
| - | GroIMP -> User: Print log & close GroIMP | + | |
| - | @enduml | + | |
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | More information on the headless mode: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | + | ||
| - | A tutorial: | + | |
| - | * [[: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ====== Command Line Interface ====== | + | |
| - | + | ||
| - | GroIMP can be started without its graphical interface, with a CLI. Unlike the Headless mode, the CLI enables interaction with the model during run time including opening and closing models, running simulations, | + | |
| - | + | ||
| - | < | + | |
| - | !pragma teoz true | + | |
| - | hide footbox | + | |
| - | + | ||
| - | participant User | + | |
| - | participant " | + | |
| - | participant GroIMP | + | |
| - | + | ||
| - | + | ||
| - | User -> GroIMP: Start GroIMP | + | |
| - | cli< | + | |
| - | & User <-> cli | + | |
| - | + | ||
| - | @enduml</ | + | |
| - | + | ||
| - | More documentation on the CLI: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | + | ||
| - | A tutorial: | + | |
| - | * [[: | + | |
| - | + | ||
| - | ====== HTTP Server ====== | + | |
| - | + | ||
| - | It is possible to start GroIMP as a HTTP server to then send model paths via HTTP for GroIMP to execute. | + | |
| - | After GroIMP executed the model values | + | |
| - | + | ||
| - | < | + | |
| - | hide footbox | + | |
| - | title HTTP server | + | |
| - | + | ||
| - | User -> GroIMP: Start GroIMP | + | |
| - | User -> GroIMP: Send Model-path | + | |
| - | GroIMP -> User: Return result | + | |
| - | User -> GroIMP: Close GroIMP | + | |
| - | + | ||
| - | @enduml</ | + | |
| - | + | ||
| - | + | ||
| - | More information: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | Tutorial: | + | |
| - | * [[: | + | |
| - | + | ||
| - | ====== Application Programming Interface ====== | + | |
| - | + | ||
| - | GroIMP can be started as an HTTP API that provides a generalized set of commands that allows the interaction with other software. Currently a Python and a R library are provided but any software capable of http requests could interact with GroIMP. | + | |
| - | + | ||
| - | + | ||
| - | < | + | |
| - | @startuml | + | |
| - | !pragma teoz true | + | |
| - | hide footbox | + | |
| - | title API | + | |
| - | + | ||
| - | participant User | + | |
| - | participant ClientScript | + | |
| - | participant API | + | |
| - | participant GroIMP | + | |
| - | + | ||
| - | + | ||
| - | User -> GroIMP: Start GroIMP | + | |
| - | User -> ClientScript | + | |
| - | ClientScript < | + | |
| - | & API< | + | |
| - | User <- ClientScript | + | |
| - | User -> GroIMP: Stop GroIMP | + | |
| - | + | ||
| - | + | ||
| - | @enduml | + | |
| - | </ | + | |
| - | More information on the API: | + | |
| - | * [[: | + | |
| - | * [[https:// | + | |
| - | * [[:dev-guide:create-new-api-function|How to create new API commands]] | + | |
| - | * [[https:// | + | |
| - | + | ||
| - | Tutorials: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | + | ||
| - | Existing examples: | + | |
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| - | + | ||
| + | ====== | ||
| + | {{namespace> | ||
| ====== GroIMP Server ====== | ====== GroIMP Server ====== | ||
| - | <color # | + | **<color # |
| GroIMP can be started as a server. Then, other instances of GroIMP can connect to the GroIMP server. This enables multiple user concurrently accessing a single model from different devices | GroIMP can be started as a server. Then, other instances of GroIMP can connect to the GroIMP server. This enables multiple user concurrently accessing a single model from different devices | ||
| Line 162: | Line 46: | ||
| !pragma teoz true | !pragma teoz true | ||
| hide footbox | hide footbox | ||
| + | title GroIMP server | ||
| participant User | participant User | ||
| participant " | participant " | ||
| Line 186: | Line 70: | ||
| - | Parts of the GreenLab model were reimplemented in the language XL. As the basis, the implementation of the GreenLab model in the software [[http:// | + | Parts of the GreenLab model were reimplemented in the language XL with additional panels in the GUI. |
| + | As the basis, the implementation of the GreenLab model in the software [[http:// | ||
| More information on the Greenlab plugin: | More information on the Greenlab plugin: | ||
| Line 193: | Line 78: | ||
| A tutorial: | A tutorial: | ||
| * [[: | * [[: | ||
| + | * [[https:// | ||
user-guide/additional_interfaces.1737024279.txt.gz · Last modified: 2025/01/16 11:44 by Tim
