Skip to content

Mermaid export can generate identifiers with illegal characters #245

@eoliphan

Description

@eoliphan

Hi i just ran into this. I have a state machine whose id is 'session-manager'. The mermaid export dutifully creates identifiers (or identifier prefixes) with that literal string which isn't legal in the mermaid state machine dsl. For example:

 state "session-manager" as session-manager {
        [*] --> session-manager.Loaded
        session-manager.Loaded --> session-manager.Configured : configFetched

was easy enough to work around by just changing the id, but you guys might want to add a some pre export checks/warnings


Studio version: 0.125.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions