Book a Demo

Author Topic: Drag and Drop distorts the shapes  (Read 4388 times)

elijahbaley

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • [ch928][ch940][ch957][ch964][ch945] [ch8165][ch949][ch8150] [ch954][ch945][ch8054] [ch959][ch8016][ch948][ch8050][ch957] [ch956][ch941][ch957][ch949][ch953]
    • View Profile
Drag and Drop distorts the shapes
« on: October 13, 2009, 05:50:17 pm »
When an uml element is put on a diagram using drag and drop, its shape becomes elongated. This happens only with Class symbols. For example, a class with a few operations becomes a huge rectangle if you d'n'd it on a diagram.

How can this be fixed?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Drag and Drop distorts the shapes
« Reply #1 on: October 13, 2009, 08:19:40 pm »
Quote
When an UML element is put on a diagram using drag and drop, its shape becomes elongated. This happens only with Class symbols. For example, a class with a few operations becomes a huge rectangle if you d'n'd it on a diagram.

How can this be fixed?
I think this topic: Setting the REAL default appearance may cover what you are experiencing...

Whatever the shape looks like on the "default diagram", it will appear that way when you drag and drop.  You can test this by changing the layout with Set Feature Visibility [Ctrl+Shift+Y] and dragging it again (once you've "found" the default diagram).

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

elijahbaley

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • [ch928][ch940][ch957][ch964][ch945] [ch8165][ch949][ch8150] [ch954][ch945][ch8054] [ch959][ch8016][ch948][ch8050][ch957] [ch956][ch941][ch957][ch949][ch953]
    • View Profile
Re: Drag and Drop distorts the shapes
« Reply #2 on: October 13, 2009, 11:17:36 pm »
Well, I think the problem is stranger than it seems ;o) Since the default diagram -where the item was first used- was a sequence diagram in my case, EA tried to reflect the shape of the lifeline (rectangle) of the object of the class!

When I put the class on a class diagram first, I did not have the same problem.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Drag and Drop distorts the shapes
« Reply #3 on: October 14, 2009, 11:51:44 am »
Quote
Well, I think the problem is stranger than it seems ;o) Since the default diagram -where the item was first used- was a sequence diagram in my case, EA tried to reflect the shape of the lifeline (rectangle) of the object of the class!

When I put the class on a class diagram first, I did not have the same problem.
Ah... no so fast grasshopper...  The diagram YOU think was where it was first used and the diagram EA thinks it was first used (for the type it is looking for) are not necessarily the same...

Paolo
« Last Edit: October 14, 2009, 11:52:14 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

elijahbaley

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • [ch928][ch940][ch957][ch964][ch945] [ch8165][ch949][ch8150] [ch954][ch945][ch8054] [ch959][ch8016][ch948][ch8050][ch957] [ch956][ch941][ch957][ch949][ch953]
    • View Profile
Re: Drag and Drop distorts the shapes
« Reply #4 on: October 14, 2009, 05:31:49 pm »
Well, since I have created these classes on the project explorer, not on a diagram, I have used them for the first time on a sequence diagram.