partials
controller.views.partials
Partial views module for the controller app.
Functions
app_tree_view_summary(request)
Renders the app tree view summary.
Source code in controller/views/partials.py
app_tree_view_table(request)
View that renders the app tree view table.
Source code in controller/views/partials.py
dialog(request)
Dialog to gather the input arguments required by the event.
Source code in controller/views/partials.py
make_fsm_flowchart(states, current_state)
Create Mermaid syntax for a flowchart of FSM states and transitions.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
states
|
dict[str, dict[str, str]]
|
The FSM states and events. |
required |
current_state
|
str
|
The current state of the FSM. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
Mermaid syntax for the flowchart. |
Source code in controller/views/partials.py
state_machine(request)
Triggers a chan.