Adding function which display the graphic form of the automate