How to show Dependency Injection on a UML class diagram? June 8, 2023 by Tarik Martin Fowler shows it like this: