1. A computer implemented method for converting a statechart from a first statechart format to a second statechart format, the method comprising: utilizing a computer to perform: receiving a first statechart, wherein the first statechart is in the first statechart format, wherein the first statechart implements a first functionality; parsing the first statechart, wherein said parsing determines a plurality of elements of the first statechart; generating a markup language representation representing the first statechart based on said parsing, wherein the markup language representation represents the plurality of elements of the first statechart; generating a second statechart based on the markup language representation, wherein the second statechart is in the second statechart format, wherein the second statechart implements the first functionality, wherein the plurality of elements of the first statechart comprise one or more data controls, guards, or actions specified in a textual language, the method further comprising: generating one or more graphical data flow diagrams which specify the controls, guards, or actions corresponding to the one or more data controls, guards, or actions, respectively, specified in the textual language of the first statechart; wherein said generating the second statechart further comprises including the one or more graphical data flow diagrams specifying the one or more data controls, guards, or actions in the second statechart; storing the second statechart in a memory.