Element

An element is a single item, such as a node or transition in the data model. Within the realm of DrawingML, the complex type CT_Pt holds information describing an element within a diagram. Within this description lies both the data held within the element, and any formatting on that element. A CT_Pt is defined as follows:

<xsd:complexType name="CT_Pt">
  <xsd:sequence>
    <xsd:element name="prSet" type="CT_ElemPropSet" minOccurs="0"
      maxOccurs="1" />
    <xsd:element name="spPr" type="a:CT_ShapeProperties" 
      minOccurs="0" maxOccurs="1 />
    <xsd:element name="style" type="a:CT_ShapeStyle" 
      minOccurs="0" maxOccurs="1" />
    <xsd:element name="t" type="a:CT_TextBody" minOccurs="0" 
      maxOccurs="1" />
  </xsd:sequence>
  <xsd:attribute name="modelId" type="ST_ModelId" use="required" />
  <xsd:attribute name="type" type="ST_PtType" use="optional" 
    default="node" />
  <xsd:attribute name="cxnId" type="ST_ModelId" use="optional" 
    default="0" />
</xsd:complexType>

The attribute @modelId holds a unique id for a particular element. This unique id can be referenced elsewhere, for example, from within a connection list. This attribute is required for every point defined in the data model.

The last two attributes of the CT_Pt are optional. The first defines the type of point with the default being a node. The second defines a connection id. This connection id is only used if the point type is of type <parTrans>, or <sibTrans>. The connection id refers to a relationship that is defined elsewhere in the data model.