[Table of Contents] [docx version]

Error! No text of specified style in document.

chMax (Maximum Children)

This element is used to indicate when to enable and disable the user interface components associated with adding a new shape to a diagram. This element defines a max number of nodes a diagram can support through the user interface directly.

[Example: Consider the following example of chMax usage in DiagramML:

<varLst>

   <chMax val="5"/>

   <dir val="norm"/>

   <resizeHandles val="exact" />

</varLst>

In this example we define the user interface to only be enabled to insert five nodes. end example]

Parent Elements

presLayoutVars5.9.5.4); varLst5.9.2.31)

 

Attributes

Description

val (Maximum Children Value)

This attribute indicates the maximum number of children the node can have before the user interface should be disabled. A value of -1 indicates an infinite number of children. Default value is -1.

 

The possible values for this attribute are defined by the ST_NodeCount simple type (§5.9.7.43).

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

<complexType name="CT_ChildMax">

   <attribute name="val" type="ST_NodeCount" default="-1" use="optional"/>

</complexType>