Component diagrams

Component diagrams are the second way to shows the physical architecture of a computer-based system. Together with deployment diagrams, they are geared expressly toward computer systems.

A component - as the main element in a such type of diagrams - is used to package other logical elements, and represents things that participate in the execution of a system. Components also use the services of another component via one of its interfaces. Usually, components are used to visualize logical packages of source code (work product components), binary code (deployment components) or executable files (executions components).

A component diagram usually shows components, interfaces and relationships among them.

Creating and drawing Component diagrams

If you need to learn how to create new diagrams in a project, or the techniques for placing elements and drawing links, consult the User's Guide topics found under " Working with Diagrams: Basic Diagram Techniques" in the Table of Contents. See Related Topics below.

Content

Component diagrams most commonly contain:

Component diagrams in Together use two kinds of relationships: dependency and realization (supports).

To group one or more logical elements of the model, component diagrams also can use packages or subsystems.

Key elements and properties

Components

Components typically represent a package of other logical elements and can be groupped themselves. They also can realize its own interfaces or use interfaces of another component.

Remember, that each component represents just one aspect, one view of the system.

Interfaces

See Deployment Diagram for more information about interfaces.

Links

Component Diagram Tips

Related topics