Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: vladap on April 03, 2023, 10:31:25 pm

Title: Copy of existing diagram
Post by: vladap on April 03, 2023, 10:31:25 pm
Hi Guys,

I am having little bit of trouble to make a copy of a diagram.
I am using UML - Sequence diagram. And I would like to copy existing one and do just some minor change in this diagram.

What I do ...

1) Project Browser -> Copy Diagram
2) Project Browser -> Package -> Paste (As new Diagram)
3) Pop up window - Shallow (links to existing elements)

Now I would like to have two duplicate diagrams and same elements. But what happend is, that I have duplicate diagram and duplicate elements (so elements are there twice). What am I doing wrong? Is there a way how to just copy Sequence diagram and not elements?

thank you for your advices
Title: Re: Copy of existing diagram
Post by: Geert Bellekens on April 04, 2023, 01:14:43 am
You can't shallow duplicate sequence diagrams.

Geert
Title: Re: Copy of existing diagram
Post by: vladap on April 04, 2023, 06:27:02 pm
Thats a shame , anyway thanks for the answer.
Title: Re: Copy of existing diagram
Post by: qwerty on April 04, 2023, 06:37:29 pm
No. It's logic. Messages in a SD are meant to be used once in that specific context. It's just pointless them since a SD reflects one specific scenario. It's not a program.

q.
Title: Re: Copy of existing diagram
Post by: BobM on April 04, 2023, 07:05:14 pm
I think what he wants to do is re-use application components in the lifelines
In this case he could use classifiers.

As mentioned before: messages are unique, but I guess this is not the issue for the OP as he desired to make changes.

It should technically be possible to share users elements?
Title: Re: Copy of existing diagram
Post by: qwerty on April 04, 2023, 07:39:23 pm
I think what he wants to do is re-use application components in the lifelines
In this case he could use classifiers.

As mentioned before: messages are unique, but I guess this is not the issue for the OP as he desired to make changes.

It should technically be possible to share users elements?
In most cases sharing is good. But in SDs it's just not.

q.