yasmin_editor.editor_gui.selection_bundle_paste module

Paste helpers for clipboard bundles.

yasmin_editor.editor_gui.selection_bundle_paste.paste_bundle_into_model(target_model: StateMachine | Concurrence, bundle: SelectionBundle, anchor_x: float, anchor_y: float) dict[str, str]

Paste a selection snapshot into a target container model.

yasmin_editor.editor_gui.selection_bundle_paste.paste_concurrence_rules(target_model: Concurrence, bundle: SelectionBundle, state_name_map: dict[str, str], outcome_name_map: dict[str, str]) None

Paste concurrence outcome-map rules that remain valid after renaming.

yasmin_editor.editor_gui.selection_bundle_paste.paste_outcomes(target_model: StateMachine | Concurrence, bundle: SelectionBundle, offset_x: float, offset_y: float) tuple[dict[str, str], dict[str, str]]

Paste logical outcomes and their visual aliases into the target.

Paste transitions that still point to known targets.

yasmin_editor.editor_gui.selection_bundle_paste.paste_states(target_model: StateMachine | Concurrence, bundle: SelectionBundle, offset_x: float, offset_y: float) dict[str, str]

Paste states into the target and return the name remapping.

yasmin_editor.editor_gui.selection_bundle_paste.paste_text_blocks(target_model: StateMachine | Concurrence, bundle: SelectionBundle, offset_x: float, offset_y: float) None

Paste free text annotations into the target.