<rel>
(Diagram Relationship)
This element specifies a relationship between two diagram nodes. An optional third node that exists between the primary two may also be included. The relationship has an implicit order since it describes the source and destination nodes.
<o:relationtable v:ext="edit"> <o:rel v:ext="edit" idsrc="#_s1036" iddest="#_s1036"/> <o:rel v:ext="edit" idsrc="#_s1042" iddest="#_s1036" idcntr="#_s1043"/> <o:rel v:ext="edit" idsrc="#_s1044" iddest="#_s1042" idcntr="#_s1045"/> <o:rel v:ext="edit" idsrc="#_s1036" iddest="#_s1044" idcntr="#_s1038"/> </o:relationtable> <v:rect id="_s1036" ... > <v:textbox ... ><...>2</...></v:textbox> </v:rect> <v:rect id="_s1044" ... > <v:textbox ... ><...>1</...></v:textbox> </v:rect> <v:shape id="_s1038" ... />
Parent Elements |
---|
|
Attributes |
Description |
---|---|
Namespace: urn:schemas-microsoft-com:vml |
Specifies an optional value that indicates how applications that implement VML should interpret extensions not defined as part of the original specification of core VML. [: This part of the original VML specification is included to assist applications that leverage existing VML support in implementing the Office Open XML Format. ] The possible values for this attribute are defined by the ST_Ext simple type (§6.1.3.3). |
|
Specifies the optional identifier of the shape that exists between the source and destination shapes. This is omitted if the relationship does not have a shape between the source and destination shapes. example:
<o:rel ... idcntr="#s_1038"> </o:rel> The possible values for this attribute are defined by the XML Schema string datatype. |
|
Specifies the identifier of the shape at the destination of the relationship. example:
<o:rel ... iddest="#s_1044"> </o:rel> The possible values for this attribute are defined by the XML Schema string datatype. |
|
Specifies the identifier of the shape at the source of the relationship. example:
<o:rel ... idsrc="#s_1036"> </o:rel> The possible values for this attribute are defined by the XML Schema string datatype. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Relation">
<attributeGroup ref="v:AG_Ext"/>
<attribute name="idsrc" type="xsd:string" use="optional"/>
<attribute name="iddest" type="xsd:string" use="optional"/>
<attribute name="idcntr" type="xsd:string" use="optional"/>
</complexType>