Reputation: 66226
How do I show Dependency Injection of an object or class in a UML class diagram?
Upvotes: 50
Views: 38648
Reputation: 11797
You display class dependencies by using a dashed line with a pointed arrow that points from the client model element to the supplier model element.
I think that how you provide the dependencies to the client is irrelevent at the UML level.
Upvotes: 16