Tele-programming by graphical simulation