You can use Unified Modeling Language (UML) class diagrams to create
outgoing relationships from sources to targets between Java™ elements.
To create a relationship from a source to a target:
- In the diagram editor, place the cursor over the source classifier
until the connector handles appear.
- Click the outgoing connector handle, drag it to the target classifier,
and release the mouse button.
- In the pop-up window, click a relationship type.