Book a Demo

Author Topic: Elements on diagram  (Read 5165 times)

Alex9329

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Elements on diagram
« on: January 30, 2018, 12:55:07 am »
Hi!

If I put in one element in another element on diagram, Project browser hierarchy will be also changed. Could you please tell me how to avoid this Project hierarchy changes (the dependency of diagrams and Project browser)?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Elements on diagram
« Reply #1 on: January 30, 2018, 02:53:17 am »
Look at the option "Support for Composite Objects" in Start | Preferences | Objects

But to be honest, most of the time that function works as it should. If you have an issue with that you might be doing something wrong. (such as putting Activities on an activity diagram)

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Elements on diagram
« Reply #2 on: January 30, 2018, 10:43:23 am »
Hi!

If I put in one element in another element on diagram, Project browser hierarchy will be also changed. Could you please tell me how to avoid this Project hierarchy changes (the dependency of diagrams and Project browser)?
Hi Alex,

there are strategies for avoiding the Project browser incorrectly Nesting components when the relationship between them is not Nesting, but (typically) composition, aggregation etc.

However, first, you need to decide (when you visually embed one element inside another) what relationship you are implying.

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: Elements on diagram
« Reply #3 on: January 30, 2018, 11:14:43 am »
On the Diagram Behavior preferences page there is an option for 'Auto Group Elements'. I believe that's what you're looking for.

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 320
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: Elements on diagram
« Reply #4 on: January 30, 2018, 03:31:23 pm »
Hi!

If I put in one element in another element on diagram, Project browser hierarchy will be also changed. Could you please tell me how to avoid this Project hierarchy changes (the dependency of diagrams and Project browser)?

Press 'Alt' and drag / drop, when moving elements in and out of another element. This will let you retain the hierarchy.