Simulation of a simple interactive graphical editor