Realization
Last updated
Last updated
A Realization in Modeldraw is a relationship that indicates that an element implements or realizes the behavior specified by another element. In Modeldraw, Realization is specifically supported between certain elements, providing a way to show implementation relationships in your system design.
With Realizations in Modeldraw, you can:
Show that a Class implements an Interface
Indicate that a Component realizes an Interface
Represent that a Package realizes another Package
Illustrate the fulfillment of a contract or specification in your system design
A Realization in Modeldraw is typically represented by a dashed line with a hollow triangle pointing to the realized element. Key points to understand about Realizations include:
The triangle points to the element being realized (the specification).
The source element implements or fulfills the specification of the target element.
In Modeldraw, Realization is possible between:
Class and Interface (Class implements Interface)
Component and Interface (Component realizes Interface)
Package and Package (Package realizes Package)
Realization often implies that the source provides a concrete implementation of the abstract specifications defined by the target.
An element can realize multiple interfaces or packages.
To create a Realization in Modeldraw:
Ensure you have the elements you want to connect with a Realization in your diagram.
Select the Realization tool from the toolbox.
Click on the source element (the one implementing or realizing).
Move your cursor to the target element (the one being realized).
Click on the target element to complete the Realization.
Remember that the direction of the Realization is important. The arrow should point from the implementing element to the element being implemented or realized.