Hacker News new | ask | show | jobs
by psd1 602 days ago
I will invest that time later. In anticipation, thanks.

I came here to see if anyone was talking about state machines that generate their own flowcharts, or codegen from flowcharts. I'd like to know if there's prior art.

It would be great for user acceptance. I'm minded to have a go myself, possibly with mermaid as an intermediate description. Stupid? Non-stupid?

2 comments

There is a library in Ruby to generate graphviz from state machines: https://github.com/state-machines/state_machines-graphviz
I have similar thoughts but I also didn't have chance to do proper investigation of the prior art :).
Icymi, luke_galea mentioned graphviz in ruby

Next challenge: generate fsm from mermaid flow chart!