Improve the way positions of automata state and transitions are stored so that they are not screen-dependent. Instead of storing locations in pixels, store them as floats in the interval [ 0, 1 ] so that the automaton remains visible when the window is resized or when viewed on a different screen.
Improve the way positions of automata state and transitions are stored so that they are not screen-dependent. Instead of storing locations in pixels, store them as floats in the interval [ 0, 1 ] so that the automaton remains visible when the window is resized or when viewed on a different screen.