https://github.com/vgarciasc/dfa-draw
A web tool for drawing deterministic finite automata.
https://github.com/vgarciasc/dfa-draw
automata dfa web-tool
Last synced: about 1 year ago
JSON representation
A web tool for drawing deterministic finite automata.
- Host: GitHub
- URL: https://github.com/vgarciasc/dfa-draw
- Owner: vgarciasc
- Created: 2017-02-12T00:02:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-19T13:40:28.000Z (over 5 years ago)
- Last Synced: 2025-03-31T09:37:20.265Z (over 1 year ago)
- Topics: automata, dfa, web-tool
- Language: JavaScript
- Homepage: https://vgarciasc.github.io/dfa-draw/html
- Size: 107 KB
- Stars: 15
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Now on GitHub Pages!](https://vgarciasc.github.io/dfa-draw/html/index.html)
# dfa-draw
> A simple JS web application where you can create and run DFAs (deterministic finite automata).
## How to
- Start by adding an alphabet (such as {1, 0}).
- Next, click on the canvas and add your states and transitions.
- The 'console' on the right will notify you of errors in your automata.
- Create a state on the mouse position by pressing 'Q'.
- Select a state by left-clicking on it.
- Move a state by left-clicking on a state and moving the cursor.
- Create transitions by pressing 'E' once a state is selected, and then left-clicking another state.
- Remove transitions or states by pressing 'DEL' once a state or transition is selected.
- Rename the selected state by pressing 'R'.
- Set a state as Final by pressing 'F'.
- Set a state as Start by pressing 'S'.
