yasmin_editor.editor_gui.dialog_result_adapters module
Adapters for turning dialog tuples into canonical state-creation kwargs.
The editor still receives tuple-shaped results from several legacy dialogs. Keeping the mapping in one place makes the create-state flow easier to read and unit test, and avoids repeating container defaults in multiple call sites.
- yasmin_editor.editor_gui.dialog_result_adapters.build_concurrence_kwargs(result: Tuple[str, list[str], str | None, dict[str, str], str, list[dict[str, Any]]]) Dict[str, Any]
Adapt a concurrence dialog result to
create_state_nodekwargs.
- yasmin_editor.editor_gui.dialog_result_adapters.build_plugin_state_kwargs(result: Tuple[str, Any, list[str], dict[str, str], str, list[dict[str, Any]], list[dict[str, Any]]]) Dict[str, Any]
Adapt a plugin-state dialog result to
create_state_nodekwargs.
- yasmin_editor.editor_gui.dialog_result_adapters.build_state_machine_kwargs(result: Tuple[str, list[str], str | None, dict[str, str], str, list[dict[str, Any]]]) Dict[str, Any]
Adapt a state-machine dialog result to
create_state_nodekwargs.