<layoutNode>
(Layout Node)
The layout node is the basic building block of diagrams. The layout node is responsible for defining how shapes are arranged in a diagram and how the data maps to a particular shape in a diagram.
<layoutNode name="node"> <varLst> <bulletEnabled val="1"/> </varLst> <presOf axis="desOrSelf" ptType="node"/> <alg type="tx"/> <shape type="rect" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" r:blip=""> <adjLst/> </shape> <constrLst/> <ruleLst> <rule type="primFontSz" forName="" val="2" fact="NaN" max="NaN"/> </ruleLst> </layoutNode>
In this example we define a layout node which holds text and is a rectangle. ]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes |
Description |
---|---|
|
Specifes the ordering of the child layout nodes for a given layout node. The possible values for this attribute are defined by the ST_ChildOrderType simple type (§5.9.7.15). |
|
Reference to another layout node that this layout node moves with. The possible values for this attribute are defined by the XML Schema string datatype. |
|
A unique identifier for the layout node. The possible values for this attribute are defined by the XML Schema string datatype. |
|
Specify which formatting option from a style or color variation should be applied to this layout node. 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_LayoutNode">
<choice minOccurs="0" maxOccurs="unbounded">
<element name="alg" type="CT_Algorithm" minOccurs="0" maxOccurs="1"/>
<element name="shape" type="CT_Shape" minOccurs="0" maxOccurs="1"/>
<element name="presOf" type="CT_PresentationOf" minOccurs="0" maxOccurs="1"/>
<element name="constrLst" type="CT_Constraints" minOccurs="0" maxOccurs="1"/>
<element name="ruleLst" type="CT_Rules" minOccurs="0" maxOccurs="1"/>
<element name="varLst" type="CT_LayoutVariablePropertySet" minOccurs="0" maxOccurs="1"/>
<element name="forEach" type="CT_ForEach"/>
<element name="layoutNode" type="CT_LayoutNode"/>
<element name="choose" type="CT_Choose"/>
<element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</choice>
<attribute name="name" type="xsd:string" use="optional" default=""/>
<attribute name="styleLbl" type="xsd:string" use="optional" default=""/>
<attribute name="chOrder" type="ST_ChildOrderType" use="optional" default="b"/>
<attribute name="moveWith" type="xsd:string" use="optional" default=""/>
</complexType>