Replies: 2 comments 3 replies
|
A possibly cleaner representation would be to declare a conditional entry as such. This cleans up the labels on the transition arrows quite nicely, whilst also grouping the entry functions together. |
0 replies
|
Hi @leeoades, Well spotted, this is definitely not what we should expect. I can see some spurious logic in Additionally, the re-entry action name gets dropped entirely if you remove the entry action for any trigger: Regarding the alternative representation you've proposed, this looks clearer to me too. Do you have a fix in mind? |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Consider a state machine with states A and B.
So from State A, on Trigger.X, we expect OnEveryEntry and OnEntryFromX to fire.
In State B, on Trigger X, we expect the same.
The Digraph generated is as such:
I would argue that the reentry transition currently labelled
would be more usefully labelled as
The State B already displays entry / OnEveryEntry to denote all entries.
The label on the X reentry repeats this information, and neglects to mention OnEntryFromX.
So I would expect this:

Thoughts?
All reactions