Change drawing method for the automata.