-
Notifications
You must be signed in to change notification settings - Fork 2
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
Added simple diagram and graphing infrastructure. #15
base: main
Are you sure you want to change the base?
Conversation
- Creates a simple AST of the state machine which should be full serializable to anything - Added a mermaid state diagram writer with support for signal type info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things I found:
Nested states/signals should be represented with DeclaringType.NestedType.FinalType name format
re-entrant states aren't displaying.
|
||
namespace PSIBR.Liminality | ||
{ | ||
public class VisualizationTests : IClassFixture<BasicStateMachineFixture> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things I found:
- Nested states/signals should be represented with DeclaringType.NestedType.FinalType name format
- re-entrant states arent displaying.
This is still very ugly, so opening as draft at first. I'll open it as a full PR once I get the rendering endpoint in place that integrates the diagram with a visualization JS lib