laborchestrator.gui.error_state_utilities module¶
GUI helpers around the error/exclusion state of the workflow.
Mirrors the structure of manual_execution.py: a create_*_controls() factory for the layout component and a register_*_callbacks() function for the Dash callbacks, so the main dash app only has to place the control and register the callbacks.
- The single button is context sensitive to the selected node:
a container node -> toggles whether its steps are excluded from the schedule (immediate)
- a process step -> asks for confirmation, then puts that step (and its containers) into
the error state
anything else -> the button is hidden
- laborchestrator.gui.error_state_utilities._process_of_container(jssp: SchedulingInstance, cont_name: str) SMProcess | None[source]¶