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