From the course: Software Design: Modeling with UML
Unlock the full course today
Join today to access over 23,400 courses taught by industry experts.
Component diagram - Unified Modeling Language (UML) Tutorial
From the course: Software Design: Modeling with UML
Component diagram
- [Narrator] Component diagrams are an effective way to model systems in terms of autonomous reusable modular units that are wired together to form a system. This means that these diagrams are relevant only where you are developing and using reusable components using a component-based development approach, or CBD approach. In a component diagram, many concepts and ideas are very similar to class diagrams, so if you understand class diagrams, you will find component diagrams fairly intuitive. There are three key elements of a component diagram, components, interfaces, and relationships. Let us look at components first. A component is a self-contained unit of software that can be fitted into a larger system as a replaceable unit at design time or runtime. The core idea of a component is that it has a stable interface specification. Any piece of software that meets that specification can play the role of that component.…