Specifying relationships in UML diagrams

In UML, relationships identify the semantic ties that exist between model elements. To add relationships to a model, you must work in the diagram editor and add connectors between the diagram elements. You cannot specify relationships in the Model Explorer view.

You must have a modeling diagram open.
To specify a relationship in a modeling diagram:
  1. In the Palette, click a type of relationship.
  2. In the diagram editor, click a classifier and drag the cursor to another classifier.
Related concepts
Relationships between model elements
Relationships in class diagrams
Relationships in component diagrams
Relationships in deployment diagrams
Relationships in use case diagrams
Related tasks
Adding connectors to modeling diagram elements
Related reference
Relationship types
Relationship stereotypes
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.