1. A computing device-implemented method, comprising providing a state diagram in a state diagram environment executing on a computing device, where the state diagram includes a first input signal that includes a first sample rate and a second input signal that includes a second sample rate; generating, using the computing device, an intermediate representation of the state diagram, the intermediate representation reducing the state diagram to an abstract and static representation of procedures and/or operations of the state diagram; performing a programmatic traversal and analysis of the intermediate representation to identify a propagation of the first sample rate and the second sample rate through the state diagram; and generating code, using the computing device, that corresponds to the state diagram based on the intermediate representation, where the generated code includes the propagation of the first sample rate and second sample rate.