VIKTOR offers various app types that you can select from. Based on this choice, the app
consist of one or multiple editors with which the user can interact. The image below shows the editor of the VIKTOR
demo app (
editor app type).
Editor of the demo app
The left side of an editor is called the parametrization, which consists of input fields and action buttons the user can interact with. The right side of an editor shows all kinds of results and visualizations in so-called views.
Before explaining how to create an editor, let's have a look at what files a simple VIKTOR app is built up of.
The minimum file structure of a VIKTOR app looks as follows:
From bottom to top...
viktor.config.toml contains the configuration settings for your app.
For more information on what settings can be set, please have a look at the reference.
app.py contains the app logic and is the entry point of the application. This is the file in which the
editor is defined.