DiagramElement Type Commands (Template Language)
Commands for objects of DiagramElement type defined in Software Ideas Modeler Template Language.
| Command Name | Result Type | Description |
|---|---|---|
| Name | String | Returns the name of the element. |
| Uid | String | Returns the internal unique ID of the element. |
| ID | String | Returns the custom user ID of the element. |
| Cid | String | Same as ID. |
| UniqueUrl | String | Returns the name of the HTML file for the element. (AdjustedElementName_Uid.html) |
| ElementType | String | Returns the type of the element. |
| Visibility | String | Returns the visibility of the element. The used visibility names are from the variables. |
| VisibilitySymbol | String | Returns the symbol of the visibility (+ - ~ #). |
| VisibilityName | String | Returns the name of the visibility. |
| HasDocumentation | Boolean | Returns true if the element has a documentation. |
| Documentation | FormattedText | Returns the documentation of the element as formatted text. (It can be used only in documentation templates.) |
| HtmlDocumentation | String | Returns the documentation of the element in HTML format. |
| Namespace | String | Returns the namespace of the element. |
| X | Number | Returns the X-coordinate of the element position in the diagram. |
| Y | Number | Returns the Y-coordinate of the element position in the diagram. |
| Width | Number | Returns the width of the element. |
| Height | Number | Returns the height of the element. |
| Image | Image | Returns the image of the element. |
| Relations | Enumeration | Enumerates all relations bound to the element. The default variable used for the enumeration is Relation. |
| OutRelations | Enumeration | Enumerates all output relations, that means all relations which start in this element. The default variable used for the enumeration is Relation. |
| InRelations | Enumeration | Enumerates all input relations, that means all relations which end in this element. The default variable used for the enumeration is Relation. |
| Package | UmlPackage | Returns the parent package of the element. |
| Model | Model | Returns the parent model of the element. |
| Diagram | Diagram | Returns the diagram, on which this element is placed. |
| Container | DiagramElement | Returns the container of the element (if it is a nested element). |
New Comment