Book a Demo

Author Topic: BUG: Display embedded element edges  (Read 5469 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
BUG: Display embedded element edges
« on: August 22, 2007, 10:29:05 pm »
When you add a vertex to a diagram, if there are any edges to any other existing vertexes on the diagram, they will be added by EA...  Except if the vertexes are connected via embedded elements!

To manually add them is a LOT of work!

EA needs a new option to control the automatic display of edges connecting to/from embedded elements.  The option should default to true.  The option should be globally available, overridable on a per-diagram and per-vertex basis.

There may need to be a subsidiary option to control the automatic display embedded elements on the diagram.

Thoughts? Votes?
Paolo
[size=0]©2007 Paolo Cantoni, -Semantica-[/size]
« Last Edit: August 22, 2007, 10:32:29 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: BUG: Display embedded element edges
« Reply #1 on: August 22, 2007, 10:33:54 pm »
Quote
There may need to be a subsidiary option to control the automatic display embedded elements on the diagram.
[size=0]©2007 Paolo Cantoni, -Semantica-[/size]


I think it exist (maybe just not globably).
But I vote for all. It will save a lot of work.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

thomaskilian

  • Guest
Re: BUG: Display embedded element edges
« Reply #2 on: August 23, 2007, 01:12:46 am »
Welcome. I have an add-in called insertEmbedded for that.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: BUG: Display embedded element edges
« Reply #3 on: August 23, 2007, 03:40:44 pm »
Try Ctrl+Dragging any element with embedded elements.  It gives you the option of including embedded elements (either all of them) or by copying what is shown on another diagram.

You can also set that as the default when dragging.

If you don't want to do that, right click on the element and select 'Embedded Elements' | 'Embedded Elements...'.  From there you can check to automatically add any embedded elements to the diagram, including inherited ones.

Or is that just not what you're interested in?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: BUG: Display embedded element edges
« Reply #4 on: August 23, 2007, 05:13:25 pm »
Quote
Try Ctrl+Dragging any element with embedded elements.  It gives you the option of including embedded elements (either all of them) or by copying what is shown on another diagram.

You can also set that as the default when dragging.
Unfortunately this only shows the embedded elements, it doesn't add the edges therefrom... :(
Quote
If you don't want to do that, right click on the element and select 'Embedded Elements' | 'Embedded Elements...'.  From there you can check to automatically add any embedded elements to the diagram, including inherited ones.
Or is that just not what you're interested in?
Yes, that's correct, WAY too many mouse clicks!  :'(

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: BUG: Display embedded element edges
« Reply #5 on: August 23, 2007, 07:35:41 pm »
Quote
Unfortunately this only shows the embedded elements, it doesn't add the edges therefrom... :(

Make sure that you also have 'as Simple Link' selected.  If you have 'as Instance' or 'as New Child' selected they will be new elements and therefore won't have any connectors currently existing.  (It does show edges for me.)

Quote
Yes, that's correct, WAY too many mouse clicks!   :'(

There is also a keyboard shortcut.  (Ctrl+Shift+B)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: BUG: Display embedded element edges
« Reply #6 on: August 23, 2007, 08:16:53 pm »
Quote
Make sure that you also have 'as Simple Link' selected.  If you have 'as Instance' or 'as New Child' selected they will be new elements and therefore won't have any connectors currently existing.  (It does show edges for me.)
I did... and it didn't (show the edges from the embedded elements.  It showed the other edges).

The keyboard shortcut DOESN'T solve the problem as I have to a priori, know which other items on the diagram have embedded elements that connect to the item I'm adding...  :-X

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: BUG: Display embedded element edges
« Reply #7 on: August 23, 2007, 08:52:44 pm »
Quote
I did... and it didn't (show the edges from the embedded elements.  It showed the other edges).

Then submit a bug report (or a follow up for your original) that includes a specific situation where the links aren't added.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: BUG: Display embedded element edges
« Reply #8 on: August 23, 2007, 09:59:40 pm »
Quote
Then submit a bug report (or a follow up for your original) that includes a specific situation where the links aren't added.
Here it is...
Activity diagram with object nodes...

Paolo
« Last Edit: August 23, 2007, 10:00:13 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: BUG: Display embedded element edges
« Reply #9 on: August 26, 2007, 01:18:25 pm »
That example still shows the objectnodes and links immediately for me.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: BUG: Display embedded element edges
« Reply #10 on: August 26, 2007, 04:32:03 pm »
Quote
That example still shows the objectnodes and links immediately for me.
Hi Simon,

I'm assuming that means you have two activities, joined by an object flow between two object nodes (one per activity).

If you place one activity on a new activity diagram, you get just the activity.  If you place the second, you get two activities, two object nodes and one object flow.

I get two activities.

What can control this display? (BTW: I'm using 815)

Incidentally, when I display the embedded objectnodes (via the dialog)they appear in "in mid-air" above the top left corner of the activity.  When you touch them and move them slightly, they go back to a more correct, though not original, place on the activity.

Paolo


Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: BUG: Display embedded element edges
« Reply #11 on: August 26, 2007, 04:57:15 pm »
Quote
If you place one activity on a new activity diagram, you get just the activity.  If you place the second, you get two activities, two object nodes and one object flow.

Not exactly.

I ctrl-drag one activity (that contains an object node linked to another object node under another activity) from the tree and select to paste 'as Simple Link' and include all embedded elements.

This creates the activity with the relevant object node being shown.

I then repeat this with the second activity and the object flow is shown.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: BUG: Display embedded element edges
« Reply #12 on: August 26, 2007, 05:48:04 pm »
Thanx Simon - for your patience,

Got it!  (It's easy when you follow the instructions...  :-[)  However, I plead EAUI as mitigating circumstance!

However, there is the small matter of the embedded elements appearing "in mid-air" which I'll leave as an extant bug report.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: BUG: Display embedded element edges
« Reply #13 on: August 26, 2007, 09:13:49 pm »
Glad it's now working for you.

I'll make sure that the initial bad drawing of the object nodes gets fixed.