Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: milasx on March 17, 2022, 02:59:58 am
-
Hello,
I am looking at the sample deployment diagram here:
https://sparxsystems.com/enterprise_architect_user_guide/15.2/model_domains/deploymentdiagram.html
The web server shows a number of attributes (Processor / RAM). Are they actually tags? And if so are they displayed without the compartment label by using a custom script?
Many thanks
-
Those are run states (concrete values for properties). You can set them from the context Feartures/Set Run State.
q.
-
Many thanks!
So as per help the idea is to set attributes in the classifier and then set the values in the instances, right?
-
Yes, that's the idea. IIRC you can also set arbitrary values this way.
q.
-
As pointed out in one of the previous posts, the nodes in the diagrams are instances. In the example, the Web Server : Dell Power Edge 2650 is an instance of a node, not present in the diagram, with a name of Dell PowerEdge 2650, and "Web Server" as the name of the instance.
The values in the example diagrams are attributes, not tags, with the values set through "Set Run State" (Ctrl-Shift-R). This means that you need to define all the attributes of the instantiated node before you can set their values.
-
Thank you to both - many thanks.