Diagram Type Commands (Template Language)
Commands for objects of Diagram type defined in Software Ideas Modeler Template Language.
| Command Name | Result Type | Description |
|---|---|---|
| Name | String | Returns the name of the diagram. |
| Uid | String | Returns the internal unique ID of the element. |
| PageUrl | String | Returns the name of the HTML file for the diagram. (Format: [AdjustedDiagramName].html) |
| UniqueUrl | String | Returns the unique name of the HTML file for the diagram. (Format: [AdjustedDiagramName]_[DiagramUid].html) |
| ImageUrl | String | Returns the URL for the image of the diagram. (Format: images/[DiagramUid].png) |
| Namespace | String | Returns the namespace of the diagram. |
| Creator | String | Returns the name of the diagram creator. |
| Documentation | FormattedText | Returns the documentation of the diagram as formatted text. (It can be used only in documentation templates.) |
| HtmlDocumentation | String | Returns the documentation of the diagram in HTML format. |
| DocumentationLines | Enumeration | Enumerates all lines of the diagram documentation. The default variable used for the enumeration is DocumentationLine. (from version 5.60) |
| TaggedValues | Enumeration | Enumerates all tagged values of the diagram. The default variable used for the enumeration is TaggedValue. |
| GetTaggedValue(tag, [defaultValue]) | String | Returns tagged value for the tag. If there is no value for the tag, defaultValue is returned. Default value is an optional parameter. |
| TypeName | String | Returns the type of the diagram. |
| CreationDate | String | Returns the creation date of the diagram. |
| Description | String | Returns the description of the diagram. |
| Authors | String | Returns names of author(s) of the diagram. |
| Version | String | Returns the version of the diagram. |
| Elements | Enumeration | Enumerates all elements used in the diagram. The default variable used for the enumeration is Element. |
| Image | Image | Returns the image of the rendered diagram. (It can be used only in documentation templates.) |
New Comment