Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: milasx on March 17, 2022, 02:59:58 am

Title: Deployment Diagram Example
Post 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
Title: Re: Deployment Diagram Example
Post by: qwerty on March 17, 2022, 03:34:40 am
Those are run states (concrete values for properties). You can set them from the context Feartures/Set Run State.

q.
Title: Re: Deployment Diagram Example
Post by: milasx on March 21, 2022, 09:18:49 pm
Many thanks!
So as per help the idea is to set attributes in the classifier and then set the values in the instances, right?
Title: Re: Deployment Diagram Example
Post by: qwerty on March 21, 2022, 10:41:15 pm
Yes, that's the idea. IIRC you can also set arbitrary values this way.

q.
Title: Re: Deployment Diagram Example
Post by: Modesto Vega on March 22, 2022, 03:29:32 am
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.


Title: Re: Deployment Diagram Example
Post by: milasx on March 24, 2022, 05:28:40 am
Thank you to both - many thanks.