Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: rayt on August 03, 2012, 03:28:34 am

Title: drag and drop "simple link"  losing styles
Post by: rayt on August 03, 2012, 03:28:34 am
Hello,

I'm doing a drag and drop operation of a hierarchy of objects from the project browser into a diagram.

To get the same layout as in another existing instance of these objects, I pick "as simple link", and then "include embedded elements based on instance [name of instance]".

I'm then getting the same positioning and sizes as the selected instance, which is great - however the styles from that instance are lost, unlike when copying and pasting the elements from the other diagram instance.

Just curious, is this a bug, is there any way to regain those styles?  

Thank you!
RT

Title: Re: drag and drop "simple link"  losing
Post by: skiwi on August 17, 2012, 06:06:58 am
Sounds buggy to me. There have been similar bugs in the past.
I suggest you report it and request a change.
Title: Re: drag and drop "simple link"  losing styles
Post by: Eve on August 17, 2012, 08:31:40 am
It's working by design. Only the embedded elements presence/positioning are copied from the source diagram. When dragging from the project browser you are not copying any one diagram representation, so you don't get all the same styles applied.

Of course, you can open the original diagram and copy and paste onto the new diagram in order to copy those styles.
Title: Re: drag and drop "simple link"  losing styles
Post by: skiwi on August 17, 2012, 09:45:00 am
mea culpa.
As you say if you want formatting from a diagram then copy and paste from that diagram.