Book a Demo

Author Topic: Feature Request: Attachable Notes  (Read 4716 times)

YoPapa

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Feature Request: Attachable Notes
« on: September 17, 2002, 01:58:57 pm »
Hello,

is it possible to attach a "note" to another diagram item in a way that the note is connected to that item with a (dotted or dashed) line? So far I'm placing notes onto my diagrams separately from all other items, and I haven't found an appropriate feature to attach them to the items they are describing.

Did I miss something here, or could this be a future feature?

Best Regards...

Farfetch

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • You are amazed that we exist, that we burn so bright, and you can only wonder why.
    • View Profile
Re: Feature Request: Attachable Notes
« Reply #1 on: September 18, 2002, 02:25:57 am »
I'm not certain, but I believe this is to do with maintaining UML rules. Flow/Data Flow arrows cannot link notes with say activities I think.

You can use a dependency link (on the Logical section) to link notes with activities, this makes a dashed line with a big arrow like: - - - - - >
Farfetch'd is the mightiest of all the Pokemon!!!

P.S. I do have a serious job :)

jaimeglz

  • EA User
  • **
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: Feature Request: Attachable Notes
« Reply #2 on: September 18, 2002, 06:34:13 am »
Hi, Yo.

Farfetch is right. In UML you can only link notes to elements (diagram items) through a Note Link. You can find these in the first item, from the left, in the third row of the menu bar, where the little arrow is. Note Link is the last item, at the botton of the associations list.

Jaime Gonzalez

Farfetch

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • You are amazed that we exist, that we burn so bright, and you can only wonder why.
    • View Profile
Re: Feature Request: Attachable Notes
« Reply #3 on: September 18, 2002, 08:00:57 am »
It is a feature of more recent versions of EA (2.5 does allow flows between notes and activities etc). The exact message is:

"The requested connection is not UML compliant."

This says to me that UML rules say a note cannot link to an activity/entity etc.

However, a 'dependency' link (on Logical Options) will link a note to an entity etc, as well as a note link.

I presume this means that UML rules allow an entity to be dependent on a note or vice versa.

Hope this helps.
Farfetch'd is the mightiest of all the Pokemon!!!

P.S. I do have a serious job :)

jaimeglz

  • EA User
  • **
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: Feature Request: Attachable Notes
« Reply #4 on: September 19, 2002, 08:00:16 am »
Hi Farfetch; Hi Yo.

Please tell me if I'm missing something here, but my understanding is that what Yo wants to do is to join a note to another diagram element, and he wants to use a dotted or dashed line. I assume he tried to use one of the dotted lines from the Analysis, Use Case, Logical... tool boxes, and EA did not permit him to do this. The reason for this stricture is that in UML it is not logical to use flows, realizations, etc. in order to link notes to other elements. For instance, just what is going to flow between the note and an activity, or between a note and an object? Just imagine having either a CASE tool or a human developer having to figure out what that flow means in terms of generating code!

My recommendation was to use a note link (which is a dashed line, and would satisfy Yo's request). These lines are the valid UML artifact for what Yo wants to do. Also, I have succesfully used these note links to join notes to classes, use cases, nodes, activities... and so forth, and have found no bugs or problems in  EA.

As Farfetch points out, there is an exception to the rule that only note links can join notes to other elements; namely, that you can join notes to elements with a dependency. You have to be careful, though, because the use of these dependencies have to be logical, otherwise it will not be clear what aspect of the note it is that the element is dependent on. To give you a valid example: In Ericksson-Penker extensions, you have notes that are stereotyped to <<Business rule>> and <<Problem>>. You can readily see that it makes perfect sense to join a <<Business rule>> to a class or to an activity with a dependency link; or to join a <<Goal>> object to a <<Problem>> also through a depedency.

I hope this helps to clarify the issue.

Jaime Gonzalez

Farfetch

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • You are amazed that we exist, that we burn so bright, and you can only wonder why.
    • View Profile
Re: Feature Request: Attachable Notes
« Reply #5 on: September 20, 2002, 01:10:03 am »
I use EA for diagram drawing, not as a UML tool, thus it doesn't matter to me whether a link is "correct" or not, just that it is present to show the thought process in my head.

For example, if a program I was working on had a screen that would link to another screen, a button that would load a dialog and a user inputted decision that would display option 1 or 2 I would use the same arrows to show this as I am not concerned with the correct UML laws at present.

No doubt this might upset the true UML followers, but it is sufficient for me to do this to display the way I think programs should develop for my company and to use labels to show that development process. :)

For the initial post he wanted a link from a note to another diagram item, I suggested the reasons why a normal flow line wouldn't connect, but also suggested a link which would produce an arrowed line, rather than just the non-directional note line as I thought this might help YoPapa. It may not be true UML but it works :)
Farfetch'd is the mightiest of all the Pokemon!!!

P.S. I do have a serious job :)

jaimeglz

  • EA User
  • **
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: Feature Request: Attachable Notes
« Reply #6 on: September 20, 2002, 10:56:40 am »
Hi, Farfetch!

I think that the link issue is settled, but I want to try to convince you that UML standards (arcane as they seem) are worth following.

Just consider the great ammount of postings in this forum concerning code generation: a new phenomenon ('wonder if I spelled that right, but you understand...) is taking place here; namely, that more and more users are using EA diagramming not only as a modeling device, but also as a kind of programming language. We're not there (complete code generation) yet, but the road towards that goal is becomming clearer and clearer, and UML is the standard that is making all of this possible.

In one project I'm involved right now, I'm connecting two subject-matter experts here in Mexico City (one on public policy, and another in public-health) to an analysis and design effort for a decision-support system in a remote municipality. I get all these expert's wisdom into the model in EA, and then send it via EMail to the programming staff in Oaxaca City (which is six hours away). Although EA's code generating capabilites are still limited, the programmers must understand exactly what we are trying to model.

I hope you find this useful, because my intention is not to preach UML observance to anyone.

Jaime Gonzalez
« Last Edit: September 20, 2002, 10:58:39 am by jaimeglz »