Graphviz to Grafn
Converts graphviz .dot files to Grafn javascript code. This lets you define your application flow using a diagram editor first, and then fill out the functionality.
How can I use it?
As a Library
const Fs = ;const GraphvizToGrafn = ; { const graphvizCode = await Fs; const grafnCode = await ; console; // will print the JS code}
As a Binary
$ npm install -g graphviz-to-grafn
$ cat ./path/to/graphviz.dot | g2g > grafn_code.js