Book a Demo

Author Topic: Notes in a diagram  (Read 5450 times)

Bill Egge

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Notes in a diagram
« on: April 12, 2005, 06:26:50 am »
Is there a way to insert the note associated with some element?  Currently I have to add a note to the diagram, but that ends up with me having 2 notes saying the same thing.

For instance I have a table column named Eeo_Class that can accept the values 1..9.  Each value means this:
1=Officials and Managers
2=Professionals
3=Technicians
4=Sales Workers
5=Office and Clerical
6=Craft Workers
7=Operatives
8=Laborers
9=Service Workers

In EA I added this to the notes section for that column.

But I also want to display this note in a diagram.  The only way I know how to do this is to add a note to the diagram and duplicate the text.

Is there a way I can simply display the note for that element rather than creating a note element?

Sometimes I modify the note, this means I have to synchronize the notes.

thomaskilian

  • Guest
Re: Notes in a diagram
« Reply #1 on: April 12, 2005, 07:06:16 am »
Not that I know. You could make use of the automation but likely this is not trivial too :-/

helmut

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
  • Helmut Steinke ist hier
    • View Profile
Re: Notes in a diagram
« Reply #2 on: April 12, 2005, 10:12:35 am »
Hello,
you can create a  note element on the diagram, link it using 'note link' to the table element. When you are using the context menue of the link, than use "Link this note to an element feature" and select the column which you want to display.
Helmut

Bill Egge

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Re: Notes in a diagram
« Reply #3 on: April 12, 2005, 10:43:20 am »
Thank you!

dserodio

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: Notes in a diagram
« Reply #4 on: April 12, 2005, 11:00:54 am »
This "synchronization" issue also affects Constraints, see the topic "How to show constraints?" in http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1113249795;start=0
Correctness is clearly the prime quality. If a system does not do what it is supposed to do, then everything else about it matters little. - Bertrand Meyer

Gary W.

  • EA User
  • **
  • Posts: 139
  • Karma: +0/-0
    • View Profile
Re: Notes in a diagram
« Reply #5 on: April 12, 2005, 12:20:33 pm »
Incidentally, there's an <Enumeration> stereotype that you may find useful, in these cases where the values are something you want visible to readers of the Class Diagram.

I've seen people place these along one side of the diagram, and the Attribute name hints at which <Enumeration> class to look at.

It doesn't solve your specific problem, but you'd be able distinguish your 'freeform textual notes' from these 'notes which are really an enumerated list'.


HTH,
Gary

Bill Egge

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Re: Notes in a diagram
« Reply #6 on: April 12, 2005, 01:09:01 pm »
Thats a good idea.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Notes in a diagram
« Reply #7 on: April 12, 2005, 01:13:14 pm »
Normally, an attribute type would correspond to the enumeration class name.
However, as begge mentions tables and columns, this won't be a usable approach :-)

Bruno

Quote
Incidentally, there's an <Enumeration> stereotype that you may find useful, in these cases where the values are something you want visible to readers of the Class Diagram.

I've seen people place these along one side of the diagram, and the Attribute name hints at which <Enumeration> class to look at.

It doesn't solve your specific problem, but you'd be able distinguish your 'freeform textual notes' from these 'notes which are really an enumerated list'.


HTH,
Gary