Connection Element

Visio XML Reference

Contains elements for one connection point defined for the shape.

Syntax

  <Connection
    [Name]
    [NameU]
    [Del]
    [ID]
    [IX]>
</Connection>

Attributes

Name

Optional string. The name of the element.

NameU

Optional string. The universal name of the element.

Del

Optional boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

ID

Optional int. The ID of a named element.

IX

Optional int. The zero-based index of the element within its parent element.

Element properties

Property Value
Name Connection 
Minimum Occurrences
Maximum Occurrences Unbounded 

Element information

Parent elements

PageSheet

Shape

StyleSheet

DocumentSheet

Child elements

X

Y

DirX

DirY

Type

AutoGen

Prompt

Remarks

Connection elements can be indexed or named (assigned a Name, NameU, or ID attribute). By default, if the user does not name the connections for a shape, they are assigned index attributes.

If one Connection element is named for a shape, all the Connection elements must be named for that shape. However, Connection elements do not need to be named using the same attribute.

See also

Connection Points section