1. A method comprising: receiving from a user a first graphical model and a configuration control set for the first graphical model; converting the first graphical model into an intermediate representation (IR); generating a second graphical model from the IR and the configuration control set; displaying the second graphical model to the user; receiving from the user one or more modifications to at least one of the second graphical model and the configuration control set; and generating code in a target language from the at least one modified second graphical model and configuration control set.