Choose your location:
Home :: Products :: ConceptDraw PRO :: Study :: Lessons :: Connection points

ConceptDraw Smart Objects
Lesson 6. Connection points

Prev :: Content :: Next

For connecting objects ConceptDraw has its own mechanism of connecting points. You can attach connectors only to special connection points.

To view connection points in your document select View\Connection Points or press Ctrl+Alt+T.

Connecting

Connection points are marked as crosses on the object sides and in the object center. Depending on the location of a connection point it has its own notation in Connect section of the object table.

Connect Section
The number of the top connection point is 1, of the right point - 2, and so on clockwise. The center connection point number is 5.

You can add connection points to all non-locked objects. For this use Insert\Connection Point or press Connection Point Tool Connection Button on Drawing Tools toolbar.

Connection Points

You can define an object to which connector is attached and the type of connection by using GlueInfo section of the connector table.

Connection Glue Info

ConnectObjBegin defines the ID of the object to which the connector start point is attached. If ConnectObjBegin equals -1 then the connector start point is attached to no object.

Similarly ConnectObjEnd defines the ID of the object to which the connector end is attached. If ConnectObjEnd equals -1 then the connector end is attached to no object.

ConnectTypeBegin defines the side of the object to which the connector start point is attached.

Values:

1, 2, 3, 4 - the connector start point is attached to one of the sides of the control frame.

5 - the connector start point is attached to one of the sides of the control frame so that the length of the connector is minimal.

255 - the connector start point either isn't attached to any of the sides of the control frame or attached to one of the user-added connection points.

Similarly ConnectTypeEnd defines the side of the object to which the connector end is attached.

Values:

1, 2, 3, 4 - the connector end is attached to one of the sides of the control frame.

5 - the connector end is attached to one of the sides of the control frame so that the length of the connector is minimal.

255 - the connector end either isn't attached to any of the sides of the control frame or attached to one of the user-added connection points.

Note: If you set the value with the equal sign it means that this end of the connector can't be attached to any of the sides of the control frame except the defined one.

For example, if you set this value Connection Glue Info you will be able to attach the connector start point only to the control frame so that the connector length is minimal.

Prev :: Content :: Next

 
Subscribe to CS Odessa Newsletter
      Copyright 2010 Computer Systems Odessa Corporation. All rights reserved.
SEARCH