yasmin_editor.io package

Submodules

Module contents

IO helpers for the YASMIN editor model.

yasmin_editor.io.model_from_xml(xml_input: str | Path) StateMachine

Deserialize a state machine model from XML text or a file path.

yasmin_editor.io.model_to_xml(model: StateMachine, file_path: str | Path | None = None) str

Serialize a state machine model to XML.