Mermaid graph code generation should be prepared for states whose names have spaces or dashes

Author: oEscalCreated Jun 20, 2025Updated Jul 3, 2025
Labelsbug

Mermaid code does not accept states with spaces or dashes. The code should be prepared for this by, at least, sanitizing the names before generating the Mermaid code.

Source: pytransitions/transitions