Export as: PyFoma | PNG | SVG | LaTeX
The big white box above is the FSM designer. Here's how to use it:
- Add a state: double-click on the canvas
- Add an arrow: shift-drag on the canvas
- Move something: drag it around
- Delete something: click it and press the delete key (not the backspace key)
- Make accept state: double-click on an existing state
- Type numeric subscript: put an underscore before the number (like "S_0")
- Type greek letter: put a backslash before it (like "\beta")
- PyFoma: the initial state needs to have the number 0 in its label (S_0, q_0, 0, ...), possibly followed by / and a weight
- PyFoma: weights (optional) are specified with a slash, e.g. a/2.0
- PyFoma: transductions are specified with a colon, e.g. a:b
- PyFoma: multiple transitions sharing source and target are comma-separated, e.g. a:b, c:d
- PyFoma: epsilon is '', e.g. '':a/1.0
This was made in HTML5 and JavaScript using the canvas element.