automata icon indicating copy to clipboard operation
automata copied to clipboard

Feature: Importing Stately.AI code

Open RicoFio opened this issue 3 years ago • 0 comments

Summary

Hi there! First of all, thanks a lot for the great library!

It would be great if it was possible to load Stately.AI JSON objects at runtime (or convert them to executable code). That way, one could allow users to design their state machine with Stately.AI and using them in-code.

Acceptance criteria

  • There is a method to read in JSON files generated using Stately.AI and either:
    • generate automata Dart code or
    • load an object during runtime which can iterate through the states using the indicated actions in the state automaton JSON

RicoFio avatar Dec 15 '22 15:12 RicoFio