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/22 15:53] – created Tim | user-guide:additional_interfaces [2025/06/04 12:40] (current) – tim2 | ||
|---|---|---|---|
| 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: | + | |
| - | * [[user-guide: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | + | ||
| - | 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 | + | |
| - | title CLI | + | |
| - | 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: | + | |
| - | + | ||
| - | * [[:user-guide:additional_interfaces: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | 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:// | + | |
| - | * [[: | + | |
| - | * [[https:// | + | |
| - | + | ||
| - | Tutorials: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | + | ||
| - | Existing examples: | + | |
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| - | + | ||
| + | ====== | ||
| + | {{namespace> | ||
| ====== GroIMP Server ====== | ====== GroIMP Server ====== | ||
user-guide/additional_interfaces.1737557623.txt.gz · Last modified: 2025/01/22 15:53 by Tim
