Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Composite Structure Diagram

A Composite Structure diagram reflects the internal collaboration of Classes, Interfaces or Components (and their Properties) to describe a functionality. Composite Structure diagrams are similar to Class diagrams, except that they model a specific usage of the structure. Class diagrams model a static view of Class structures, including their attributes and behaviors.

Use To:

A Composite Structure diagram is used to express run-time architectures, usage patterns and the participating elements' relationships, which might not be reflected by static diagrams.

In a Composite Structure diagram, Classes are accessed as Parts or run-time instances fulfilling a particular role. These Parts can have multiplicity, if the role filled by the Class requires multiple instances. Ports defined by a Part's Class should be represented in the composite structure, maintaining that all connecting Parts provide the required interfaces specified by the Port. There is extensive flexibility, and an ensuing complexity, that come with modeling composite structures. To optimize your modeling, consider building Collaborations to represent reusable patterns responding to your design issues.

Example Diagram:     Example Composite Structure Diagram

Tools:

Select Composite Structure diagram elements and connectors from the Composite pages of the Toolbox.

Composite Structure Diagram Elements

Composite Structure Diagram Connectors

e_Class

c_Connector

e_Interface

c_Assembly

e_Part

c_RoleBinding

e_Port

c_Represents

e_Collaboration

c_Occurence

e_collaboration_use

c_Delegate

e_ExposeInterface

 

Learn More: