Welcome to flap.js
This is a minimal JFLAP clone in javscript so people can draw and interact with finite automata in their browsers. The notations used throughout the project are chosen to be compatible with CSE 105 at UC San Diego.
TL;DR: double click to create vertices and right click + drag to make edges.
Additionally, dragging vertices and edges is supported and if you want to edit anything, simply right click on a vertex or the text on an edge. You will be prompted with a floating menu. After editing, press enter to confirm the change.
A shortcut to making a vertex final (accepting) is to double click on it.
Enter the input string and press run. You can also step through the computation one character at a time.

After you finish drawing your automaton, you can download a PNG of the drawing by clicking "Save as png" on the toolbar.

This feature enables sharing machine drawings. Permalink stands for permanent link, meaning once you have created a link to share with your others, that link can uniquely decode back to a machine.

