1. A computer-accessible memory medium storing program instructions executable by a processor to: receive a first diagram, wherein the first diagram specifies one or more states and one or more transitions between the states, wherein the first diagram specifies first functionality; store an extensible markup language (XML) representation based on the first diagram, wherein the XML representation specifies the first functionality; and automatically generate a graphical data flow program based on the XML representation, wherein the graphical data flow program specifies a plurality of nodes and interconnections between the nodes, and wherein the graphical data flow program is executable by a processor to perform the first functionality.