
Port (represented by the small square at the end of a required interface or provided interface) is used when the component delegates the interfaces to an internal class. This shows that one component is providing the service that the other is requiring. The assembly connector allows linking the component’s required interface (represented with a semi-circle and a solid line) with the provided interface (represented with a circle and solid line) of another component.

Interfaces in component diagrams show how components are wired together and interact with each other. Provided Interface and the Required Interface The component stereotype is usually used above the component name to avoid confusing the shape with a class icon.Ģ) Rectangle with the component icon in the top right corner and the name of the component.ģ) Rectangle with the component icon and the component stereotype. There are three ways the component symbol can be used.ġ) Rectangle with the component stereotype (the text >). We have explained below the common component diagram notations that are used to draw a component diagram.
Bouml direction aggregation software#
The components can be a software component such as a database or user interface or a hardware component such as a circuit, microchip or device or a business unit such as supplier, payroll or shipping. They provide a high-level view of the components within a system. What is Component DiagramĬomponent diagrams are used to visualize the organization of system components and the dependency relationships between them.

You can use a component diagram example below to get a quick start.
Bouml direction aggregation how to#
In this component diagram tutorial, we will look at what a component diagram is, component diagram symbols, and how to draw one. While other UML diagrams, which describe the functionality of a system, component diagrams are used to model the components that help make those functionalities.
