Hey team,
We are just getting started with using Viktor and are trying to understand if it possible to show multiple output views at the same time.
I know it is possible to do geom+data for example but we would love have geom+ graph at the same time for our project.
Is there a way we can achieve this?
Thanks,
Will
Hi Will,
You can find all available views here: Results & visualizations | VIKTOR Documentation
It is currently not possible to combine a GeometryView and PlotlyView into a single view.
It might be good to mention that it is possible to show multiple views in a single editor, albeit on separate tabs. This is achieved by adding more than 1 method with a view decorator on the Controller , such as the example below:
class Controller(ViktorController):
...
@GeometryView("3D Model", duration_guess=2)
def method_1(self, params, **kwargs):
...
@DataView("Cost overview", duration_guess=1)
def method_2(self, params, **kwargs):
...
@GeometryAndDataView("Combined", duration_guess=3)
def method_3(self, params, **kwargs):
...
You can use the persistent storage feature to store results, which can be reused across multiple views to prevent additional calculation time.
1 Like
Hi William,
There seems to be another community member that is also interested in such a feature. Iām linking your post to his feature request:
Hello Viktor Community,
I want to propose a new feature for the Geometry view within the app. It would be immensely beneficial if we could support multiple instances of the Geometry view in a single application window. The desired layouts include:
Tiled Square Views: Display the views in a grid or mosaic pattern, much like tiles.
Stacked Views: Arrange the views on top of each other, offering a scrolling mechanism to navigate between them.
Additionally, for the tiled geometry view, it would ā¦
1 Like