Building Graphical Notations

Imagine you want to be able to draw the model depicted in Figure 7-5. The diagram shows two switches connected with a link; the link is attached to a port on each switch, where the port has a number. We can capture the conceptual entities in this model by constructing the metamodel shown in Figure 7-6.

Figure 7-5. A graphical representation of a network

Figure 7-6. Metamodel for network

Defining the metamodel is one thing; having a concrete syntax and notation to use in creating, editing, and maintaining the corresponding ...

Get MDA Distilled: Principles of Model-Driven Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.