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 Diagram - sub states example not correct #72

Open
darylteo opened this issue Apr 7, 2024 · 0 comments
Open

State Diagram - sub states example not correct #72

darylteo opened this issue Apr 7, 2024 · 0 comments

Comments

@darylteo
Copy link

darylteo commented Apr 7, 2024

[*] -> State1
State1 --> State2 : Succeeded
State1 --> [*] : Aborted
State2 --> State3 : Succeeded
State2 --> [*] : Aborted
state State3 {
  state "Accumulate Enough Data\nLong State Name" as long1
  long1 : Just a test
  [*] --> long1
  long1 --> long1 : New Data
  long1 --> ProcessData : Enough Data
}
State3 --> State3 : Failed
State3 --> [*] : Succeeded / Save Result
State3 --> [*] : Aborted

Expected

https://plantuml.com/state-diagram

https://plantuml.com/imgw/img-494c143caf3638f83ec9af6d5dbb653e.png

Actual

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant