13. A system for generating a diagram comprising: a processor coupled to a memory, wherein the processor is programmed to: register a first scoped domain editor extender against a first domain model element, wherein the first domain model element has a first source code domain type, wherein the first scoped domain editor extender enables an editor to display code associated with the first domain model element, wherein the displayed code is displayed directly from the source code of the first domain model element, and wherein the displayed code is editable directly to the source code associated with the first domain model element; register a second scoped domain editor extender against a second domain model element, wherein the second domain model element has a second source code domain type dissimilar to the first source code domain type, wherein the second scoped domain editor extender enables the editor to display code associated with the second domain model element, wherein the displayed code is displayed directly from the source code of the second domain model element, and wherein the displayed code is editable directly to the source code associated with the second domain model element; retrieve a domain model including the first domain model element and the second domain model element; generate a modeling language model and map the modeling language model to the domain model, the modeling language model including at least: a first modeling language model element that corresponds to the first domain model element and a second modeling language model element that corresponds to the second domain model element; generate a graphical diagram including a plurality of shapes, each shape corresponding to an associated modeling language model element; and generate a user input item and associating the user input item with the modeling language model element for select ones of the shapes; receive an input from a user selecting a generated input item; identify and retrieve the modeling language model element associated with the selected input item; retrieve the domain model element associated with the modeling language model element from the domain model; determine whether a scoped editor extender is registered for the retrieved domain model element; send the domain model element to the scoped editor extender responsive to determining that the scoped editor extender is registered for the domain model element; and generate the scoped code editor so as to display the source code of the domain model element in a fly-out editor window.
13. A system for generating a diagram comprising: a processor coupled to a memory, wherein the processor is programmed to: register a first scoped domain editor extender against a first domain model element, wherein the first domain model element has a first source code domain type, wherein the first scoped domain editor extender enables an editor to display code associated with the first domain model element, wherein the displayed code is displayed directly from the source code of the first domain model element, and wherein the displayed code is editable directly to the source code associated with the first domain model element; register a second scoped domain editor extender against a second domain model element, wherein the second domain model element has a second source code domain type dissimilar to the first source code domain type, wherein the second scoped domain editor extender enables the editor to display code associated with the second domain model element, wherein the displayed code is displayed directly from the source code of the second domain model element, and wherein the displayed code is editable directly to the source code associated with the second domain model element; retrieve a domain model including the first domain model element and the second domain model element; generate a modeling language model and map the modeling language model to the domain model, the modeling language model including at least: a first modeling language model element that corresponds to the first domain model element and a second modeling language model element that corresponds to the second domain model element; generate a graphical diagram including a plurality of shapes, each shape corresponding to an associated modeling language model element; and generate a user input item and associating the user input item with the modeling language model element for select ones of the shapes; receive an input from a user selecting a generated input item; identify and retrieve the modeling language model element associated with the selected input item; retrieve the domain model element associated with the modeling language model element from the domain model; determine whether a scoped editor extender is registered for the retrieved domain model element; send the domain model element to the scoped editor extender responsive to determining that the scoped editor extender is registered for the domain model element; and generate the scoped code editor so as to display the source code of the domain model element in a fly-out editor window. 14. The system of claim 13 , wherein the processor is further operative to: determine whether the user has modified the code in the fly-out editor window; and synchronize the modified code and the domain model responsive to determining that the user has modified the code in the fly-out editor window.