Sorry, the document is not yet ready.
Let me try to show you here
${DIAGRAM, ...}
* format: ${DIAGRAM, name, "DiagramType(0..N)", NUMBER_OF_DIAGRAMS[One, Any, LoopInProject, LoopInElement], TEMPLATE[template_name, PROPERTY=property_name, ICON, IMAGE]}
*
* --- additional arguments ---
* SortBy=property_name(1..N)
* or
* SortBy=NoSort
*
* PreferredDiagram=Address of DiagramWithData(0..1)
* PreferredDiagram.Name=Name of DiagramUIModel(0..1)
* // the preferred diagram selected in this doc fields. If this doc field has no diagram selected, will find out this preferred-diagram, and assign into this doc field.
${ELEMENT, ...}
* format: ${ELEMENT, name, "ModelType(0..N)", NUMBER_OF_ELEMENTS[One, Any, LoopInProject, LoopInElement, LoopInDiagram], TEMPLATE[template_name, PROPERTY=property_name, ICON]}
*
* --- additional arguments ---
* SortBy=property_name(1..N)
* or
* SortBy=NoSort
*
* PreferredDiagram=Address of DiagramWithData(0..1)
* PreferredDiagram.Name=Name of DiagramUIModel(0..1)
* // the preferred diagram selected in this doc fields. If this doc field has no diagram selected, will find out this preferred-diagram, and assign into this doc field.
* // used when NUMBER_OF_ELEMENTS = [LoopInDiagram]
*
* PreferredElement=element.address(0..1)
* PreferredElement.Name=element.name(0..1)
* PreferredElement.UserId=element.name(0..1)
* // the preferred element selected in this doc fields. If this doc field has no element selected, will find out this preferred-element, and assign into this doc field.
* // used when NUMBER_OF_ELEMENTS = [One | Any | LoopInElement]
*
* PreferredExcludedModelTypes=modelType(0..N)
* PreferredExcludedInstances=element.address(0..N)
${PROJECT, ...}
* format: ${PROJECT, TEMPLATE[template_name, PROPERTY=property_name]}
${TEXT}
* format: ${TEXT, NAME}
${PROPERTY, ...}
* format: ${PROPERTY, xxx}
${IMAGE}
* format: ${IMAGE}
${ICON}
* format: ${ICON}
${TEMPLATE}
* format: ${TEMPLATE, template-name}
PS: ${PROPERTY}, ${TEMPLATE}, ${IMAGE}, ${ICON} are used in a table,
which for-each a set of elements/diagrams and generate them into rows,
using the ${PROPERTY, …}, etc… to generate the current element/diagram’s property, template, icon, image.