Modeldraw
  • Welcome to Modeldraw
  • Getting Started
    • Quickstart Guide
  • FAQ
  • UML Designer
    • Common Elements
      • Comment
      • Comment Link
      • Dependency
      • Realization
      • Frame
    • Class Diagrams
      • Class
      • Association
      • Generalization
      • Composition
      • Aggregation
      • Enumeration
      • Interface
      • Association Class Link
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Sequence Diagrams
      • Lifeline
      • Activation Bar
      • Synchronous Message
      • Asynchronous Message
      • Return Message
      • Found Message
      • Interaction Frame
    • Use Case Diagrams
      • Actor
      • Use Case
      • Association
      • System Boundary
      • Generalization
      • Include Relationship
      • Extend Relationship
    • State Machine Diagrams
      • State
      • Initial State
      • Final State
      • Transition
      • Superstate
      • Concurrent Boundary
      • History Pseudostate
      • History Transition
    • Package Diagrams
      • Package
    • Deployment Diagrams
      • Node
      • Communication Path
      • Deployed Artifact
      • Internet
    • Activity Diagrams
      • Initial Node
      • Activity Final
      • Action
      • Flow
      • Decision / Merge
      • Fork / Join
      • Partitions
      • Flow Final
      • Send Signal
      • Accept Signal
      • Time Signal
    • Component Diagrams
      • Component
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Communication Diagrams
      • Object
      • Link
  • Wireframes
    • Views
    • Layouts
    • Components
Powered by GitBook
On this page
  • Understanding Realization
  • Creating a Realization
  1. UML Designer
  2. Common Elements

Realization

PreviousDependencyNextFrame

Last updated 7 months ago

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

Understanding Realization

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.

Creating a Realization

To create a Realization in Modeldraw:

  1. Ensure you have the elements you want to connect with a Realization in your diagram.

  2. Select the Realization tool from the toolbox.

  3. Click on the source element (the one implementing or realizing).

  4. Move your cursor to the target element (the one being realized).

  5. 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.

A Class implementing an Interface
A component realizing an Interface