Connect element (Connects_Type complexType) (Visio XML)

Represents a connection between two shapes in a drawing, such as a line and a box in an organization chart.

Element information

Value
Element type
Connect_Type
Namespace
http://schemas.microsoft.com/office/visio/2012/main
Schema file
VisioSchema15.xsd
Document parts
page#.xml, master#.xml

Definition

< xs:element name="Connect" type="Connect_Type" minOccurs="0" maxOccurs="unbounded" >
</xs:element >

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element Type Description
Connects
Connects_Type
Contains a Connect element for each connection between two shapes in a drawing.

Child elements

None.

Attributes

Attribute Type Required Description Possible values
FromCell
xsd:string
optional
The cell from which a connection originates. Values of the xsd:string type.
FromPart
xsd:int
optional
The part of a shape from which a connection originates. Values of the xsd:int type.
FromSheet
xsd:unsignedInt
required
The ID of the shape from which a connection or connections originate. Values of the xsd:unsignedInt type.
ToCell
xsd:string
optional
The cell to which a connection is made. Values of the xsd:string type.
ToPart
xsd:int
optional
The part of a shape to which a connection is made. Values of the xsd:Int type.
ToSheet
xsd:unsignedInt
required
The ID of the shape to which one or more connections are made. Values of the xsd:unsignedInt type.