21.4.3.5 pt

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.

[Example:

Consider the following example of a

<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. end example]

Attributes

type (Point Type)

The type of point.

[Example:

Consider the following example of a cxnId:

    <dgm:pt modelId="5" type="parTrans" cxnId="9">
          <dgm:prSet/>
          <dgm:spPr/>
    </dgm:pt>

In this example the point type is defined as a parTrans point type. end example]

The possible values for this attribute are defined by the ST_PtType simple type (21.4.7.51).

modelId (Model Identifier)

The unique identifier of the element within the data model. This identifier should be unique only relative to the containing data model.

[Example:

Consider the following example of a cxnId:

    <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 5. end example]

The possible values for this attribute are defined by the ST_ModelId simple type (21.4.7.43).

cxnId (Connection Identifier)

The model identifier of the connection that represents the transition node.

[Example:

Consider the following example of a cxnId:

    <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 9. end example]

The possible values for this attribute are defined by the ST_ModelId simple type (21.4.7.43).

[Note: The W3C XML Schema definition of this element’s content model (CT_Pt) is located in A.5.3. end note]

Last updated on