⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠
Text Elements
Component
ConcreteComponent
Operation()
Component* core
Operation()
Component* decorator1
Component* decorator2
Component
Decorator
Operation()
Operation()
ConcreteDecoratorA
Component* component;
Component* component;
Operation() {component→Operation();}
Component
Decorator
Operation()
Operation()
ConcreteDecoratorB
Component* component;
Component* component;
Operation() {component→Operation();}