Styling Relationship Types: Lines, Arrows & Routing
IntermediateStyling Relationship Types: Lines, Arrows & Routing
Every Relationship Type has visual settings that apply to all connections of that type on the canvas. Select the Relationship Type in the Model Navigator and adjust these in the Properties panel.
Color & line style
- Color — pick a swatch or a Custom hex color for the line.
- Line Style — Solid, Dashed, or Dotted.
Directionality
The Directionality dropdown sets the basic direction of the connection:
- Unidirectional (-->) — points from source to target (the default)
- Bidirectional (<-->) — points both ways
- Undirected (---) — no direction
Arrowheads
Fine-tune the symbol at each end:
- Start Style (Source) and End Style (Target) each offer: None, Filled Triangle, Open Triangle, Caret (>), Diamond, Filled Circle, Open Circle.
For example, a UML-style "composition" might use a Diamond at the source.
Routing
Routing controls how the line is drawn between nodes:
- Rectilinear — right-angled segments (the default)
- Direct — a straight line between endpoints
- Bezier — a smooth curve
Labels
Toggle Show labels to show or hide the relationship's name on the canvas.
Good to know
Relationship Types can also carry properties (like a "since" date) and need Allowed Connections to define which Node Types they can link — see the related articles below.