<pt>
(Point)
This element defines a point in DiagramML. A point in DiagramML is defined to hold data associated with a particular point or node in a diagram. Transitions between nodes in a diagram along with the nodes themselves are defined as different types of points. A point is not only responsible for holding the data associated with a node in a diagram, but also for holding customization properties made to the text and shape associated with the particular node.
<pt modelId="{C6A8900D-3F1B-4F1D-A514-4E8BDD964568}"> <prSet phldrT="[Text]"/> <spPr/> <t> <bodyPr/> <lstStyle/> <p> <r> <rPr lang="en-US" smtClean="0"/> <t>Text 2</t> </r> <endParaRPr lang="en-US" dirty="0"/> </p> </t> </pt>
In this example we define a point which holds the data associated with a node in a diagram. The actual text in the diagram is defined in the text body, <t>
, tag and consists of the string "Text 2
". There are no overrides made to the shape properties and placeholder text defined for this node when there is no text body present. ]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
|
|
|
|
Attributes |
Description |
---|---|
|
The model identifier of the connection that represents the transition node. <dgm:pt modelId="5" type="parTrans" cxnId="9"> <dgm:prSet/> <dgm:spPr/> </dgm:pt> In this example we define the connection related to this point to reference connection The possible values for this attribute are defined by the ST_ModelId simple type (§5.9.7.42). |
|
The unique identifier of the element within the data model. This identifier should be unique only relative to the containing data model. <dgm:pt modelId="5" type="parTrans" cxnId="9"> <dgm:prSet/> <dgm:spPr/> </dgm:pt> In this example we define the point type is to be The possible values for this attribute are defined by the ST_ModelId simple type (§5.9.7.42). |
|
The type of point that this is. <dgm:pt modelId="5" type="parTrans" cxnId="9"> <dgm:prSet/> <dgm:spPr/> </dgm:pt> In this example the point type is defined as a The possible values for this attribute are defined by the ST_PtType simple type (§5.9.7.50). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Pt">
<sequence>
<element name="prSet" type="CT_ElemPropSet" minOccurs="0" maxOccurs="1"/>
<element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
<element name="t" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
<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_PtType" use="optional" default="node"/>
<attribute name="cxnId" type="ST_ModelId" use="optional" default="0"/>
</complexType>