Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Alexandre Silva on July 29, 2008, 06:23:04 am

Title: Communication and sequence diagrams
Post by: Alexandre Silva on July 29, 2008, 06:23:04 am
Hello there...need your help again :-)

How can I convert a Sequence Diagram to a Communication Diagram, and vice versa ? Does Enterprise Architect implement this functionality ?

Thanx ;-)
Title: Re: Communication and sequence diagrams
Post by: «Midnight» on July 29, 2008, 10:09:48 am
[edit]Please see below.

This works for most diagrams, but does not work for sequence diagrams for good reason.

I've left the text so that readers will still be reminded of how to change the type of other diagrams.[/edit]

Make sure you have the diagram in question open.

Then from the main menu - there is no context menu for this - choose Diagram | Change Type.

Of course you are responsible for cleaning everything up after changing the diagram type.
Title: Re: Communication and sequence diagrams
Post by: KP on July 29, 2008, 11:21:08 am
Diagram > Change Type has been disabled for sequence diagrams because it produces nasty results. However, there is an unsupported add-in that will perform the conversion for you, see this thread (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1163561963/1#1) for details...
Title: Re: Communication and sequence diagrams
Post by: Alexandre Silva on August 27, 2008, 11:35:30 pm
Can I create sequence diagram frames ? How do I do it ?
Title: Re: Communication and sequence diagrams
Post by: Oliver F. on August 28, 2008, 01:45:56 am
Quote
Can I create sequence diagram frames ? How do I do it ?

What are you refering to by talking about sequence "frames" ?

EA has the ability to separate parts of the sequences with fragments from the toolbox. You can give a type to a fragment to emphasize an alternative path, loops, critical sections, etc. and associate them constraints and conditions.

HTH.

Oliver
Title: Re: Communication and sequence diagrams
Post by: Alexandre Silva on August 28, 2008, 02:22:05 am
I meant creating a frame from a sequence diagram. I was trying to create a frame from a behavioral sequence diagram into another sequence diagram, but now I know that this is not possible. EA only allows sequence diagram frames in custom or extended diagrams.
Anyway the information you wrote was important too, thanks Oliver !!
Title: Re: Communication and sequence diagrams
Post by: Oliver F. on August 28, 2008, 05:05:23 am
Quote
I meant creating a frame from a sequence diagram. I was trying to create a frame from a behavioral sequence diagram into another sequence diagram, but now I know that this is not possible. EA only allows sequence diagram frames in custom or extended diagrams.
Anyway the information you wrote was important too, thanks Oliver !!

You could use a composite structure diagram and add the sequence and behavioral diagram into it. That way you could have both in one diagram.

Oliver