Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A connection links two elements through a connector polyline. Each connection stores:

Field

Description

Guid

The unique identifier of the connected element

Terminal

The terminal index on the connected element (which connection point was used)

Point

The coordinate of the connection point relative to the connected element

LineIndex

Indicates the direction: 1 = inbound (start of connector), 2 = outbound (end of connector)

Connections are stored as a semicolon-delimited string in the EleDP.Connections attached property on each element. The system manages this data automatically when you create, edit, move, or delete connectors.

...

Inside a symbol, add small child elements (typically rectangles or ellipses) and set their Uid property to Node followed by a number:

Uid

Description

Node1

First terminal (typically the input or top connection point)

Node2

Second terminal (typically the output or bottom connection point)

Node3, Node4, ...

Additional terminals as needed

The connector system searches recursively through the symbol's child canvas for elements whose Uid starts with "Node". The center of each terminal element is used as the snap point.

...

Connector polylines have the following attached properties (defined in EleDP):

Property

Type

Description

EleDP.Guid

Guid

Unique identifier for this element. Assigned automatically when the connector is created.

EleDP.IsConnector

bool

Marks this polyline as a connector. Set to true automatically by the Connector Tool.

EleDP.Connections

string

Serialized connection data. Semicolon-delimited list of ConnectionInfo records.

EleDP.ParentGuid

Guid

Reference to a parent element (used for grouped connections).

EleDP.LegendGuid

Guid

Reference to a label/legend element associated with this connector or shape.

The IsConnector checkbox is visible in the Properties panel when a polyline is selected. You can manually set any polyline as a connector.

...

Projects created in version 9.2 with connections are automatically updated when upgraded to version 10. The upgrade system maps the old property names to the new ones:

Version 9.2

Version 10

DisplayComponent.GUID

EleDP.Guid

DisplayComponent.IsConnector

EleDP.IsConnector

DisplayComponent.ConnectionGUIDs

EleDP.Connections

DisplayComponent.RefToControlGUID

EleDP.ParentGuid

DisplayComponent.RefToNameGUID

EleDP.LegendGuid

No manual steps are required — the conversion is automatic on project open.