I'm looking for some GUI tool where you can "draw" the state graphs for a Finite State Machine (FSM) and which subsequently generate the code. There are already plenty of tools that generate code or state graphs from some structured file input, but very few that does the opposite.
The only ones I could find were either >decade old or very expensive:
What are the free options to generate code from a drawing a finite state diagram diagram?
(I'd prefer output in either C/C++, Python or YAML. The cleaner/briefer, the better.)
As commented by @izzy, for me the best would be a simple to understand UI that allows you to draw the state graphs which simultaneously generate the state input file, perhaps in YAML (or whatever they like), and show the resulting output in the language I specify but preferably in C, Python or JS. (Java, no thanks.)