1. A computer-implemented method comprising: accessing generated code corresponding to at least a portion of a graphical model, the accessing being performed by a processor; graphically identifying a first graphical affordance in the graphical model, the first graphical affordance corresponding to a first segment of the generated code, and the graphically identifying being performed by the processor; graphically identifying, based on graphically identifying the first graphical affordance in the graphical model, one or more portions of the graphical model, when graphically identifying the one or more portions of the graphical model, the method includes: receiving information associated with browsing an intermediate representation of the graphical model or the generated code; and graphically identifying the one or more portions of the graphical model based on the received information associated with browsing the at least one of the intermediate representation of the graphical model or the generated code, the graphically identifying the one or more portions of the graphical model being performed by the processor; searching the graphical model for a recurring graphical affordance, the searching being performed by the processor; graphically identifying segments in the generated code that correspond to the recurring graphical affordance, the graphically identifying the segments being performed by the processor; replacing the recurring graphical affordance in the graphical model with another graphical affordance, the replacing being performed by the processor; and updating sections of the generated code based on the replacing, the updating being performed by the processor.