Book a Demo

Author Topic: Deployment diagram: node instance attributes  (Read 5679 times)

svd

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Deployment diagram: node instance attributes
« on: August 02, 2006, 11:32:11 am »
Hello,

I wonder how to display node instance details on deployment diagram.

E.g. EAexample.eap model contains "WebDataServer :Dell PowerEdge 6650" at "Project Models.System Model.Deployment Model.Head Office Deployment.Servers.Web Database Server". The WebDataServer node contains info like:

RAM = 1024Mb
Processor = 3.0 GHz
...

I didn't find where this information is specified and how can I do the same on my diagrams...

Anybody can help me?

davisford

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
    • View Profile
Re: Deployment diagram: node instance attributes
« Reply #1 on: August 02, 2006, 11:45:44 am »
Hi - I did not look at the EA example diagram, but I typically do this with tagged values.

This can be modeled different ways in UML, but I find the easiest thing to do is use tagged values.

Here is how to do this in EA:

View -> Tagged Values (or CTRL+SHIFT+6)

Select a Node on a deployment diagram.  Go to the tagged values property window and press the New Tag button.

Enter a name/value pair for the tag.  For example:

Name = Memory
Value = 2048 MB SDRAM

To display tagged values on the diagram then, right click somewhere in the Diagram and bring up the Properties.  Tick the "Show Tags" box.

Voila.

svd

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Deployment diagram: node instance attributes
« Reply #2 on: August 02, 2006, 11:50:33 am »
Quote
Hi - I did not look at the EA example diagram, but I typically do this with tagged values.
...


Thanks, this is also a solution!

However, it displays tagged values not so nice as on example diagram ;)

davisford

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
    • View Profile
Re: Deployment diagram: node instance attributes
« Reply #3 on: August 02, 2006, 12:21:18 pm »
Hi I took a peek.  Those are attributes of the Classifier type that that guy is a type of on the diagram, but I'll be honest and say, I can't figure out where he entered that info in.

Another question I have is how / where he got all the very nice graphics for the deployment diagram?  This makes much nicer viewing for exec types than UML box nodes.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Deployment diagram: node instance attributes
« Reply #4 on: August 02, 2006, 03:28:45 pm »
The little icon is because the node has the stereotype "pc server".
The "Dell PowerEdge 6650" is the name of the classifier. (Ctrl+L to select)
The list of actual specs is the "Run State" of the node.  This can be set by selecting "Advanced Settings | Set Run State..." from the context menu, or pressing Ctrl+Shift+R.  See http://sparxsystems.com.au/EAUserGuide/index.html?runtimestate.htm

Edit: Included help link
« Last Edit: August 02, 2006, 03:31:45 pm by simonm »

davisford

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
    • View Profile
Re: Deployment diagram: node instance attributes
« Reply #5 on: August 02, 2006, 05:12:28 pm »
Hi Simon, when I referred to the images...I meant there seems to be a deployment diagram maybe one or two packages up in the example that has more "visio-like" graphics...

I was wondering how this was done?  I tend to make deployment diagrams often, but the audience can be picky.  Engineer-types can appreciate it, but more mgmt types really like the kiddie-graphics. :)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Deployment diagram: node instance attributes
« Reply #6 on: August 02, 2006, 07:28:09 pm »
Sorry, I didn't see that extra question.  I was just commenting solely on what was shown in the first question.

Regarding your question (I assume you're talking about the 'HO Server Images' diagram in the 'Head Office Deployment' package.)

They are all alternate images.  See http://sparxsystems.com.au/EAUserGuide/index.html?selectalternateimage.htm

You can also assign an image (metafile) to a stereotype.  See http://sparxsystems.com.au/EAUserGuide/index.html?creatingcustomstereotypes.htm for setting this up.

I don't know where the images themselves came from, but have a look at the image library provided by Sparx Systems for use with EA.  http://www.sparxsystems.com.au/resources/image_library.html

svd

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Deployment diagram: node instance attributes
« Reply #7 on: August 03, 2006, 06:12:18 am »
Quote
The list of actual specs is the "Run State" of the node.  This can be set by selecting "Advanced Settings | Set Run State..." from the context menu, or pressing Ctrl+Shift+R.  See http://sparxsystems.com.au/EAUserGuide/index.html?runtimestate.htm


Thanks! That is exactly what I was looking for.
« Last Edit: August 03, 2006, 06:12:59 am by svd »