1. A method, comprising: storing 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; storing a data flow diagram, wherein the data flow diagram comprises a plurality of nodes and connections between the nodes, wherein the data flow diagram specifies the first functionality; modifying the first diagram; and automatically modifying the data flow diagram based on said modifying the first diagram.