We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In order to reproduce the issue please use the attached project or use the steps modifying TelephoneCallExample
2024-06-30-0845-TelephoneCallExample.zip
Program.cs - replace this line with this line, to output the graph "TelephoneCallExample.dll.dot"
File.WriteAllText($"{typeof(Program).Assembly.Location}.dot", phoneCall.ToDotGraph());
PhoneCall.cs - replace these lines with these lines, to add description and graph labels "StartCallTimer", "StopCallTimer"
.OnEntry(t => StartCallTimer(), "StartCallTimer") .OnExit(t => StopCallTimer(), "StopCallTimer")
Run the examples and use the created "TelephoneCallExample.dll.dot"
Expected result
The graph shows internal transition labels like this:
SetVolume / [Function] MuteMicrophone / [Function] UnmuteMicrophone / [Function]
Actual result
Internal transition labels for some reason now all labeled as "StartCallTimer":
SetVolume / StartCallTimer [Function] MuteMicrophone / StartCallTimer [Function] UnmuteMicrophone / StartCallTimer [Function]
NB Interestingly, there are no overloads for setting custom descriptions / labels for internal transitions (or did I miss?).
Here is the result dot converted to svg. Note unexpected internal transition labels "StartCallTimer":
dot
svg
The text was updated successfully, but these errors were encountered:
Fix entry function being shown on internal transitions in dot graph o…
48ce60a
…utput dotnet-state-machine#587
Thanks for taking the time to report your finding, @nightroman!
PR created for review.
Sorry, something went wrong.
No branches or pull requests
In order to reproduce the issue please use the attached project or use the steps modifying TelephoneCallExample
2024-06-30-0845-TelephoneCallExample.zip
Program.cs - replace this line
with this line, to output the graph "TelephoneCallExample.dll.dot"
PhoneCall.cs - replace these lines
with these lines, to add description and graph labels "StartCallTimer", "StopCallTimer"
Run the examples and use the created "TelephoneCallExample.dll.dot"
Expected result
The graph shows internal transition labels like this:
Actual result
Internal transition labels for some reason now all labeled as "StartCallTimer":
NB Interestingly, there are no overloads for setting custom descriptions / labels for internal transitions (or did I miss?).
Here is the result
dot
converted tosvg
. Note unexpected internal transition labels "StartCallTimer":The text was updated successfully, but these errors were encountered: