<styleData> (Style Data)

This element defines the style data model which is used to pre-populate a diagram with placeholder data in order for the diagram to display itself in the user interface which shows a quick style applied to the diagram.

	<pt modelId="0" type="doc"/>
	<pt modelId="1"/>
	<pt modelId="2"/>
	<cxn modelId="3" srcId="0" destId="1" srcOrd="0" destOrd="0"/>
	<cxn modelId="4" srcId="0" destId="2" srcOrd="1" destOrd="0"/>

In this example we define a data model which has only two nodes which will be shown in the user interface when a layout definition is combined with this data model]

Parent Elements


Child Elements


<dataModel> (Data Model)




<useDef> (Use Default)

If the value of this attribute is true, the data model defined in the <clrData> element is ignored and a default data model is used instead.

The possible values for this attribute are defined by the XML Schema boolean datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_SampleData">
	<element name="dataModel" type="CT_DataModel" minOccurs="0"/>
	<attribute name="useDef" type="xsd:boolean" use="optional" default="false"/>