mdadash.backend.state.manager
Manager that manages the dashboard state
Classes
|
State Manager |
- class mdadash.backend.state.manager.StateManager(state_file: str)[source]
Bases:
objectState Manager
This class is repsonsible for managing the entire state of the dashboard application. It persists the state to disk and also restores it back when the dashboard server is re-launched.
The state dictionary has the following keys:
- running_state:
The running state of the dashboard
- settings:
All the values used in the dashboard settings page. This dict has the following keys:
- universe_configs:
An array of universe configurations required to create MDAnalysis universes. These include the topology, trajectory, imdclient related params and any additional user-defined kwargs setup in the UI
- Variables:
state (dict) – The complete state dictionary
running_state (dict) – The running state of the dashboard
settings (dict) – All the values used in the dashboard settings page
dashboard_config (dict) – All the dashboard related config
universe_configs (dict) – All the universe(s) related config
widgets_layout (dict) – All the widgets layout info
widgets (dict) – All the widget instances info