Book a Demo

Author Topic: Adding a class to a Class Diagram  --> disarray  (Read 4753 times)

gsbtech

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Adding a class to a Class Diagram  --> disarray
« on: June 29, 2011, 08:21:15 am »
EA version 7.0.817

Every time I add a class to an existing diagram, the whole diagram shows in disarray. It takes me quiet an amount of time to re-edit it and put the classes in the order they were before.

Is there anything I can do, to just keep the existing order, and just have the new added classes on top?


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Adding a class to a Class Diagram  --> disarra
« Reply #1 on: June 29, 2011, 03:46:51 pm »
upgrade?

gsbtech

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Adding a class to a Class Diagram  --> disarra
« Reply #2 on: June 30, 2011, 02:04:13 am »
Do we know for sure that adding a new class to an existing class diagram
will not alter the position of the already existing objects in the current diagram?
 was this fixed in EA version 8 or 9?

EricP

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Re: Adding a class to a Class Diagram  --> disarra
« Reply #3 on: July 01, 2011, 10:46:58 pm »
I don't see any of that in version 7.5.850.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Adding a class to a Class Diagram  --> disarra
« Reply #4 on: July 04, 2011, 08:53:49 am »
Quote
EA version 7.0.817

Every time I add a class to an existing diagram, the whole diagram shows in disarray. It takes me quiet an amount of time to re-edit it and put the classes in the order they were before.

Is there anything I can do, to just keep the existing order, and just have the new added classes on top?
I can't think of any circumstances where that would happen. Could you send before and after screenshots to Sparx Support please, along with a description of how you are adding the class.
The Sparx Team
[email protected]

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Adding a class to a Class Diagram  --> disarra
« Reply #5 on: July 11, 2011, 09:04:46 am »
The situation that I can think of that could potentially cause behavior like that is if adding something to the diagram was somehow reloading the state of all other objects from the database.

This would mean that until the diagram is saved each existing object would be reverted to where it was first dropped on the diagram.

gsbtech

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Adding a class to a Class Diagram  --> disarra
« Reply #6 on: July 12, 2011, 01:58:37 am »
Not sure what you refer to when you say "reloading the state of all other objects from the database". Which database? I was adding a Java class form a file directory.

I have upgraded EA to 9.x and I tried adding a class and the diagram did not change.  Will keep an eye on what scenario causes this reshuffle, if I run into this behavior again, now with EA version 9.x.