Book a Demo

Author Topic: Disabling the (spurious) nesting of visually enclosed items  (Read 4273 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Disabling the (spurious) nesting of visually enclosed items
« on: November 29, 2018, 06:11:03 pm »
We have had issues in the past with EA confusing Visual Enclosure with Nesting.  But we developed a technique that allowed us to visually embed the items on the diagram as required WITHOUT having EA nest them in the browser.

Recently, we have returned to the exploration of visual enclosure and its impact on the model.  (It's a LONG time since we played with any new visual enclosure so it may have always been thus, and we didn't notice it.)

Anyway, we have found that if we accidentally move a visually enclosed item the item will be suddenly (and for us unexpectedly) NESTED under the enclosing item.  We are able to move the items out from being nested to their correct locations (we have specific folder for specific item metatypes).  The visual enclosure is NOT affected.  So we're VERY annoyed with the behaviour (espeically since it can be shown to be theoretically incorrect - particularly in the case of ArchiMate)

Is there any way to stop this behaviour (out of the box)?

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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Disabling the (spurious) nesting of visually enclosed items
« Reply #1 on: November 29, 2018, 06:21:00 pm »
I think you are looking for the option Preferences | Objects | Support for Composite objects.

From the help:
Quote
Support for Composite Objects

Select the checkbox to:

Display a hashed border within a valid parent element when you drag a potential child element onto it in a diagram
Automatically embed the child element in their parent element in the model, when you drag and drop the child element onto the parent element in a diagram
Automatically disengage the child element from the parent (break the child-parent relationship) in the model when you drag the child element out of its parent element
Deselect the checkbox to not display the hashed border and to not embed the child element in the parent in the model.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Disabling the (spurious) nesting of visually enclosed items
« Reply #2 on: November 29, 2018, 07:08:12 pm »
I think you are looking for the option Preferences | Objects | Support for Composite objects.

[SNIP]

Geert
Ask, and ye shall receive!

Thanks Geert!  That did the trick - so I guess it was NOT always thus.

Seems like another misnomer to me.  The objects are not composed, they are nested.

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