Finite State Machine Designer
| src | ||
| www | ||
| .gitignore | ||
| build.py | ||
| LICENSE | ||
| README.md | ||
Graph / Finite State Machine Designer
Update by traumweh in 2020.
- State Types: State can be rectangles or ellipses, which get wider to fit increasing text
- Default Type: Checkbox under canvas switches between ellipse (default) and rectangle
- Mixed Types: State's type can be toggled independently
- Special characters: More sup-, superscript chars, useful chars like arrows, regex stuff and more
Update by Markus Feng in 2019.
Update by Samuel Green in 2015.
Original by Evan Wallace in 2010 under the MIT license.
Cheat-Sheet
| What | How |
|---|---|
| Add state | Double-click on canvas |
| Make accept state | Double-click on state |
| Toggle type of state | Left-click state and press ctrl |
| Add arrow | Shift-drag on canvas |
| Move something | Drag it around |
| Delete something | Left-click it and press Delete key |
Normalscript
| What | How | Example/Preview |
|---|---|---|
| Greek letters | Backslash before letter | \phi $\rightarrow \phi$\Phi \rightarrow \Phi |
| Arrows | \rightarrow\Rightarrow\leftarrow\Leftarrow |
⭢ ⇒ ⭠ ⇐ |
| Concatenation | \circ\plus |
∘ ⁺ |
| Set-Stuff | \emptyset\cup\cap |
∅ ∪ ∩ |
| Blank-Character | \blank |
␣ |
| Mark a char | \mark |
◌ࠫ |
Subscript
| What | How | Example |
|---|---|---|
| Numbers | Undersore before number | x_0 \rightarrow x_0 |
| Latin letters1 | Underscore before letter | x_a \rightarrow x_a |
| Greek letters2 | Underscore + Questionmark before letter | x_?phi \rightarrow x_\phi |
| Math chars | _+_-_=_(_) |
₊ ₋ ₌ ₍ ₎ |
Superscript
| What | How | Example |
|---|---|---|
| Numbers | Circumflex before number | x^0 \rightarrow x^0 |
| Latin letters3 | Circumflex before letter | x^a $\rightarrow x^a$x^A \rightarrow x^A |
| Greek letters4 | Circumflex + Questionmark before letter | x^?phi $\rightarrow x^\phi$x^?Phi \rightarrow x^\Phi |
| Math chars | ^+^-^=^(^) |
⁺ ⁻ ⁼ ⁽ ⁾ |
[1]: Supported subscript Latin letters: a, e, h, i, j, k, l, m, n, o, p, r, s, t, u, v, x, X, y ↩
[2]: Supported subscript Greek letters: beta, rho, phi ↩
[3]: Supported superscript Latin letters: a, A, b, B, c, C, d, D, e, E, f, F, g, G, h, H, i, I, j, J, k, K, l, L, m, M, n, N, o, O, p, P, r, R, s, S, t, T, u, U, v, V, w, W, x, X, y, Y, z, Z ↩
[4]: Supported superscript Greek letters: alpha, beta, gamma, delta, epsilon, theta, iota, phi, Phi ↩