项目作者: vgarciasc

项目描述 :
Web tool for drawing deterministic finite automata.
高级语言: JavaScript
项目地址: git://github.com/vgarciasc/dfa-draw.git
创建时间: 2017-02-12T00:02:50Z
项目社区:https://github.com/vgarciasc/dfa-draw

开源协议:

下载


Now on GitHub Pages!

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’.