How to connect diagram shapes

How to connect diagram shapes in MyDraw

MyDraw allows you to connect the shapes in your diagram in several ways according to your needs and preferences.

Glue to port

The first (default) option is called “Glue to port". By choosing it, the shapes will be connected through the exact ports you initially choose, regardless of how you rotate or reposition them according to one another. To achieve this effect, select the connector type either from the Ribbon menu or from the Connector Shapes Library. Then select one of the ends of the connector and drag it to the port you like to glue it to. Do the same with the second end of the connector.

Connecting Shapes Glue To Port

Glue to Geometry Intersection

If you would like to connect the shapes to the outline of their geometrical forms you can use the “Glue to Geometry Intersection” option. By choosing it the shapes will be connected to the nearest point on the outline of the shape. To achieve this, first right click on both shapes, go to Shape Properties, Move and Glue tab and select the corresponding option. Then pick one of the ends of the connector and drag it inside the shape until you see “Glue Begin/End to Shape” tooltip.

Connecting Shapes Glue To Geometry Intersection

Glue to Box Intersection

The third option called “Glue to Box Intersection” allows you to connect the shapes to the square box they occupy in the design area (regardless of their actual shape). By choosing it the shapes will be connected to the nearest point of each shape occupation square (this is generally the selection box around any shape, which may be a star shape, circle, etc.). To do that edit the Move and Glue tab in the shape's properties, then select one of the ends of the connector and drag it inside the shape until you see “Glue Begin/End to Shape” tooltip.

Connecting Shapes Glue To Box Intersection

Glue to Nearest Port

The fourth option called “Glue to Nearest Port” allows you to connect the shapes via their nearest ports. By choosing it the connector will automatically select the two nearest ports of both shapes every time you move, rotate or resize either one of the shapes. To achieve this, you need to first modify the Move and Glue property of each shape, then select one of the ends of the connector and drag it inside the shape until you see “Glue Begin/End to Shape” tooltip.

Connecting Shapes Glue To Port

Glue to Box Center

The last option MyDraw supports for connecting shapes is called “Glue to Box Center”. By choosing it the shapes will connect to the center of their bounding boxes (the selection box) of each of them and they will remain connected to it no matter how you rotate, reposition or resize them. To do that select one of the ends of the connector and drag it inside the shape until you see “Glue Begin/End to Shape” tooltip.

Connecting Shapes Glue To Box Center


Free trial

Ready to try it yourself?

MyDraw is absolutely free for 1 month without any limitation in functionality. You can test every aspect of it and save your diagrams to PDF, high resolution images, or print them directly.