21.4.2.19 layoutNode

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.

[Example: Consider the following example of a basic layout node defined in a DrawingML diagram:

<layoutNode name="node">
  <varLst>
    <bulletEnabled val="1"/>
  </varLst>
  <presOf axis="desOrSelf" ptType="node"/>
  <alg type="tx"/>
  <shape type="rect"
xmlns:r="http://purl.oclc.org/ooxml/officeDocument/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. end example]

Attributes

styleLbl (Style Label)

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 W3C XML Schema string

datatype.

name (Name)

A unique identifier for the layout node.

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

moveWith (Move With)

Reference to another layout node that this layout node moves with.

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

chOrder (Child Order)

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 (21.4.7.15).

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

Last updated on