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

Work with SimpleStateMachine. Visual work and editoring state-machine #379

Open
RomanSoloweow opened this issue Jun 22, 2020 · 6 comments
Open

Comments

@RomanSoloweow
Copy link

Hello,
Export to DOT graph - it's static image.
My idea is to export the diagram, edit it graphically and load the already corrected diagram back. It is much more convenient!

It's my node editor for this, we can use it:
https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor

What you think about it?

@RomanSoloweow RomanSoloweow changed the title Visual work and editoring state-machine Work with SimpleStateMachine. Visual work and editoring state-machine Jun 22, 2020
@HenningNT
Copy link
Contributor

My first impression is that that looks very impressive!

To get this working I guess we'd need an exporter and importer, right? Is this something you'd like to do?

@RomanSoloweow
Copy link
Author

Thank you!
Yes, we need to do this

@RomanSoloweow
Copy link
Author

RomanSoloweow commented Jun 24, 2020

Sample structure for export and import. Can you do it?

<?xml version="1.0" encoding="utf-8"?>
<StateMachine>
  <States>
    <State Name="State1" />
    <State Name="State2" />
    <State Name="State3" />
    <State Name="State4" />
  </States>
  <StartState Name="State1" />
  <Transitions>
    <Transition Name="Transition1" From="State1" To="State2" />
    <Transition Name="Transition2" From="State2" To="State3" />
    <Transition Name="Transition3" From="State3" To="State4" />
  </Transitions>
</StateMachine>

@HenningNT
Copy link
Contributor

Something like this for importing xml, maybe?
https://github.com/HenningNT/stateless.CodeGenerator

@HenningNT
Copy link
Contributor

We'll need OnEntry and OnExit and internal transitions as well...

@frederiksen
Copy link

Maybe this one:
https://github.com/frederiksen/Stateless-Designer

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

3 participants