Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State diagramm nested self referencial state fails #4866

Closed
kamibo opened this issue Sep 22, 2023 · 0 comments · Fixed by #5781
Closed

State diagramm nested self referencial state fails #4866

kamibo opened this issue Sep 22, 2023 · 0 comments · Fixed by #5781
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@kamibo
Copy link

kamibo commented Sep 22, 2023

Description

Self referencing states work as expected except when the state is a composite state and is itself nested in another composite state.

Steps to reproduce

stateDiagram-v2

state A {
 X --> Y

 state B {
    C --> D
 }

 B --> B
}

B --> B transition triggers a failure.

Screenshots

No response

Code Sample

stateDiagram-v2

state A {
 X --> Y

 state B {
    C --> D
 }

 B --> B
}

Setup

  • Mermaid version: 10.4.0
  • Browser and Version: Firefox 112.0.1

Suggested Solutions

No response

Additional Context

No response

@kamibo kamibo added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 22, 2023
@jgreywolf jgreywolf added include roadmap items to add to roadmap for auto workflow and removed include roadmap items to add to roadmap for auto workflow labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants