How to retarget an edge
Retarget an edge
Section titled “Retarget an edge”- Click on the edge to select it
- Drag the source or target endpoint (the end of the edge where it meets a node)
- Drop it onto a different node
The relationship is updated — its source or target now points to the new element. The change applies to the model, not just the diagram.
The relationship keeps its name, whatever it is: you may have named it for a reason. For the name made from its new ends (for example My Organisation builds Other Brand), right-click the edge, or the relationship in the Explorer, and choose Reset Name (see Name a relationship).
The new end may be an element of another model: see Relationships between models. Ctrl+Z on the diagram undoes a retarget, putting the relationship back where it was, until the diagram is saved.
Constraint enforcement
Section titled “Constraint enforcement”If the relationship type has pair-wise constraints, you can only retarget to element types that satisfy the constraints. Dropping onto an invalid target type will not be allowed.
- Retargeting changes the model relationship, not just the visual edge — it affects all diagrams where the relationship appears
- To change the direction of a relationship (swap source and target), retarget both endpoints
- An endpoint attaches to whichever side of the node is closest, and follows the node as it moves. To control an edge’s path rather than its endpoints, see Route edges