Algorithm class
Algorithm. When the object is serialized out as xml, its qualified name is dgm:alg.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Diagrams.Algorithm
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
alg (Algorithm)
The algorithm used by the containing layout node. The algorithm defines the behavior of the layout node along with the behavior and layout of the nested layout nodes.
[Example: Consider the following example of alg being used in a DrawingML diagram:
<layoutNode name="arrow"> <varLst/> <alg type="tx" /> <shape type="upArrow"> <adjLst> <adj idx="2" val=".35" /> </adjLst> </shape> <presOf axis="desOrSelf" ptType="node" /> <ruleLst/> </layoutNode>
In this example, the tx algorithm is being used to layout text within the containing layout node. end example]
Parent Elements |
|---|
else (§21.4.2.12); forEach (§21.4.2.14); if (§21.4.2.15); layoutNode (§21.4.2.19) |
Child Elements | Subclause |
|---|---|
extLst (Extension List) | §21.4.2.13 |
param (Parameter) | §21.4.2.20 |
Attributes | Description |
|---|---|
rev (Revision Number) | The revision number of an algorithm. The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype. |
type (Algorithm Type) | Specifies the algorithm type. The possible values for this attribute are defined by the ST_AlgorithmType simple type (§21.4.7.1). |
[Note: The W3C XML Schema definition of this element’s content model (CT_Algorithm) is located in §A.5.3. end note]
© ISO/IEC29500: 2008.