Skip to main content

Label connectors

Connectors can have three labels - one in the middle, and at either end.

Double click on the connector at the location where you want to add a label. Alternatively, drag a Text shape from the Shapes panel and drop it onto a connector to add it as a label at that position.
Connectors can have three labels - double click to add a label to a connector, and drag the labels to a new position using the diamond grab handle.

Move a connector label​

These labels will move with the connector as you move the shapes around on the drawing canvas, but you can also drag them to another location.

  • To manually change a label's position, select the label by clicking on it, then drag the diamond grab handle to a new position
    Drag the connector label into a new position using the diamond handle

Rotate a connector label​

Select the label on a connector, and use the rotate grab handle to rotate the text.

Rotate a connector's label text

Tip: In some shapes, you can change the writing direction of the labels from horizontal to vertical.

Copy and paste a connector label​

Select a label on a connector, copy it, then paste it. If the mouse pointer is on or near the connector when you paste, the new label is placed at that point on the connector. Otherwise it is pasted with a small offset so it does not cover the original label.

Edit a connector label​

  • Double click on the text to edit the label

Format and style the text​

Use the Text tab in the format panel to change the style of a connector label.

You can add line breaks in connector labels, use a different font or font size or an external font, and add HTML formatting including superscript and subscript.

Learn more about styling text and labels in draw.io