Dependency
Last updated
Last updated
A Dependency in Modeldraw is a relationship that indicates that one element (the client) depends on another element (the supplier) for its specification or implementation. It's a versatile relationship that can be used across various diagram types to show how changes in one element may affect another.
With Dependencies in Modeldraw, you can:
Show that one element relies on another element
Indicate relationships between different components of your system
Illustrate how changes in one part of the system might impact other parts
Represent usage, instantiation, or other forms of reliance between elements
A Dependency in Modeldraw is typically represented by a dashed line with an open arrow pointing from the dependent element (client) to the element being depended upon (supplier). Key points to understand about Dependencies include:
The arrow points from the dependent (client) to the depended-upon (supplier) element.
In Modeldraw, Dependencies are supported for:
Class
Enumeration
Package
Node (in Deployment Diagram)
Use Case
Interface
Component
Ball (Interface Realization)
To create a Dependency in Modeldraw:
Ensure you have the elements you want to connect with a Dependency in your diagram.
Select the Dependency tool from the toolbox.
Click on the client element (the one that will depend on another).
Move your cursor to the supplier element (the one being depended upon).
Click on the supplier element to complete the Dependency.
Remember that the direction of the Dependency is important. The arrow should point from the dependent element to the element it depends on.