Skip to main content

Connector ties and new connector styles

· 6 min read

In draw.io, you can now bundle related connectors together with connector ties to make your diagram neater, apply new custom line styles, and choose from more connector animation styles. These updates add to the expanded connector functionality that supports auto-routing around shapes, multiple labels and better connector waypoint handling.
Several connectors run side by side through a connector tie between their source and target shapes

Work with connector ties​

Use ties when many connectors run between the same areas of a diagram, for example the cables between two racks in a network diagram.

Connector ties work best on fixed connectors, straight connectors, or on connectors that have an attachment constraint on the target shape.

  1. Select two or more connectors.
  2. Right-click on one of the selected connectors and select Bundle.
    Bundle several connectors together via the right-click context menu

A tie will be added where the connectors run closest together, and the connectors will run side by side through it.

Tie connectors in the Freehand panel: Select Arrange > Insert > Freehand, select Tie in the drop-down list, then draw a line across the connectors you want to tie together.
In the Freehand panel, select Tie from the list and draw over the connectors you want to bundle together

Add multiple ties: Tie the same connector into multiple bundles.
Use fixed connectors or the straight connector line style for neater bundles and add as many connector ties as you need

Style connector ties: Change the colour, pattern, thickness and opacity of the connector tie.
Change the style of the connector tie that holds bundled connectors together in the Style tab of the format panel

Learn more about connector ties

Expanded arrow styles​

You can apply connector styles using the Style tab of the format panel, or the floating toolbar that appears when you select a single connector. The updated connector arrow styles include notations for drawing various types of technical diagrams.
Change the style of the connector arrow in the Style tab of the format panel or in the floating toolbar that appears when you select a connector

Additional connection styles​

New styles for connector lines in the Style tab of the format panel include the following:

  • Simple Arrow - a straight connector from source to target shape that can be filled with single colours or gradients.
  • Tapered Arrow - a filled connector wide at the source and tapering to a small arrowhead at the target shape.
  • Filled Edge - a large arrow head on a connector that can be filled with a single colour.
  • Wire - a coloured connector line with a dashed line applied directly over it.
    More Connection styles are available in the Style tab of the format panel, including several that can have gradient fills and other style effects

Gradients and fill colours can be applied to the Arrow, Simple Arrow and Tapered Arrow styles.

New line patterns​

In addition to new variations on dashed and dotted lines for connector styles, you can now define your own custom dot-dash pattern.
More connector dot and dash patterns are available, and you can define your own custom pattern

Define a custom connector pattern​

Each dot-dash-space element in the connector pattern is defined with a number to indicate its length. A 1 is a dot or a short gap, and a 10 is a long dash or a long gap.

  1. Select the connector you want to style and choose Custom from the Pattern list.
    Select Custom from the Pattern list to define your own dot-dash pattern for a selected connector
  2. Define each drawn element in the pattern as well as the spaces between them with a number to indicate their lengths, for example: 1 4 3 10 1 1.
    Define your own custom dot-dash pattern for a selected connector with numbers separated by spaces to indicate the length of each pattern element A connector drawn with the custom dot-dash pattern
  3. Click Apply.

The connector will be drawn with your custom pattern.

Do more with connector animations​

If you have animated your connectors by enabling Flow Animation in the Style tab of the format panel, you can export these animations to an animated GIF image or to an animated SVG file.
Enable Flow Animation on your connectors in draw.io via the shape Properties in the Style tab.

Page animations and custom link actions can also animate connectors. Page animations play when you open a diagram in the viewer or in presentation mode. Custom link actions play when you click a shape or connector that has a custom link action.