gui.app.build_app

gui.app.build_app(modules, macros)

Build and configure a Dash web application for the control room.

This function initializes a Dash application, sets up the layout, and attaches callbacks to handle user interactions. It returns the configured Dash app.

Parameters

Name Type Description Default
modules list[ModuleConnection] A list of ModuleConnection objects representing the modules to be included in the application. required
macros dict | None A dictionary containing macro definitions to be used in the application. If None, no macros are used. required

Returns

Name Type Description
Dash The configured Dash application.