<cxn>
(Connection)
This element defines a connection between two points. A connection defines a relationship between two points in a diagram.
<cxnLst> <cxn modelId="7" srcId="0" destId="1" srcOrd="0" destOrd="0"/> <cxn modelId="8" srcId="0" destId="2" srcOrd="1" destOrd="0"/> <cxn modelId="9" srcId="0" destId="3" srcOrd="2" destOrd="0"/> <cxn modelId="10" srcId="0" destId="4" srcOrd="3" destOrd="0"/> <cxn modelId="11" srcId="0" destId="5" srcOrd="4" destOrd="0"/> <cxn modelId="12" srcId="0" destId="6" srcOrd="5" destOrd="0"/> </cxnLst>
In this example we see 6 <cxn>
elements defined within a <cxnLst>
element (§5.9.3.3). In this example, a relationship is being defined between point 0 and every other point in the diagram. ]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
Attributes |
Description |
---|---|
|
The model identifier of the destination point for a connection. <cxn modelId="10" srcId="0" destId="4" srcOrd="3" destOrd="0"/> In this example we see the destination identifier referencing a point who's model identifier is The possible values for this attribute are defined by the ST_ModelId simple type (§5.9.7.42). |
|
The relative position of the destination point among it's siblings. <cxn modelId="10" srcId="0" destId="4" srcOrd="3" destOrd="0"/> In this example we see the destination position is The possible values for this attribute are defined by the XML Schema unsignedInt datatype. |
|
The unique identifier associated with this <cxn modelId="10" srcId="0" destId="4" srcOrd="3" destOrd="0"/> In this example we see the model identifier is The possible values for this attribute are defined by the ST_ModelId simple type (§5.9.7.42). |
|
The model identifier of the point representing the parent transition. An example of a parent transition can be thought of as the shape connecting two points, such as an arrow in the diagram. The unique identifier associated with this <cxn modelId="10" srcId="0" destId="4" srcOrd="3" destOrd="0" parTransId="9" sibTransId="5"/>
In this example we see the parent transition identifier is referencing a point who's model identifier is The possible values for this attribute are defined by the ST_ModelId simple type (§5.9.7.42). |
|
The unique identifier of the layout associated to the <cxn modelId="10" type="presParOf" srcId="0" destId="4" srcOrd="3" destOrd="0" presId="urn:sampleLayouts/layout1"/> In this example we see the presentation identifier is The possible values for this attribute are defined by the XML Schema string datatype. |
|
The model identifier of the point representing the sibling transition. An example of a sibling transition can be thought of as the shape connecting two points, such as an arrow in the diagram. <cxn modelId="10" srcId="0" destId="4" srcOrd="3" destOrd="0" parTransId="9" sibTransId="5"/>
In this example we see the sibling transition identifier is referencing a point who's model identifier is The possible values for this attribute are defined by the ST_ModelId simple type (§5.9.7.42). |
|
The model identifier of the source point for a connection. <cxn modelId="10" srcId="0" destId="4" srcOrd="3" destOrd="0"/> In this example we see the souce identifier referencing a point who's model identifier is The possible values for this attribute are defined by the ST_ModelId simple type (§5.9.7.42). |
|
The relative position of the source point among it's siblings. <cxn modelId="10" srcId="0" destId="4" srcOrd="3" destOrd="0"/> In this example we see the source position is The possible values for this attribute are defined by the XML Schema unsignedInt datatype. |
|
The type of point, which will correspond to a connection in this case. <cxn modelId="10" type="presParOf" srcId="0" destId="4" srcOrd="3" destOrd="0" presId="urn:sampleLayouts/layout1"/> In this example we see the point type is defined as The possible values for this attribute are defined by the ST_CxnType simple type (§5.9.7.23). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Cxn">
<sequence>
<element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="modelId" type="ST_ModelId" use="required"/>
<attribute name="type" type="ST_CxnType" use="optional" default="parOf"/>
<attribute name="srcId" type="ST_ModelId" use="required"/>
<attribute name="destId" type="ST_ModelId" use="required"/>
<attribute name="srcOrd" type="xsd:unsignedInt" use="required"/>
<attribute name="destOrd" type="xsd:unsignedInt" use="required"/>
<attribute name="parTransId" type="ST_ModelId" use="optional" default="0"/>
<attribute name="sibTransId" type="ST_ModelId" use="optional" default="0"/>
<attribute name="presId" type="xsd:string" use="optional" default=""/>
</complexType>