You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: render human-readable Event name in diagrams (#601)
* chore: add tmp/ to .gitignore
* fix: render human-readable Event name in diagrams (#600)
Event.name is now auto-generated as a humanized form of the id (split
by _ and . separators, first word capitalized) instead of echoing the
raw identifier. Explicit name= passed by the user is preserved.
- Add humanize_id() in utils.py (compiled regex, shared by Event and
State)
- Remove redundant name= from Event call sites in factory, events,
and SCXML actions so auto-generation kicks in
- Use event.name in diagram labels (_format_event_names)
- Update docs and tests to reflect humanized names
Closes#600
* docs: add event humanized name to 3.1.0 release notes
0 commit comments