Bug 53378 - Sequence and Collaboration diagram switching
Summary: Sequence and Collaboration diagram switching
Status: CONFIRMED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-24 19:46 UTC by Jonathan Riddell
Modified: 2014-03-27 23:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Riddell 2003-01-24 19:46:33 UTC
Version:            (using KDE Devel)
Compiler:          gcc 2.95 
OS:          Linux

The Seq and Col diagram basically contain the same info
from a different view. It would be nice if the two
could have
a view switch option to switch to the other view.
Comment 1 Ralf Habacker 2014-03-27 23:21:45 UTC
For the record I found several issue with this "switch" approach
1. The switch would only work for a very limited set of graphical elements.  The sequence diagram provides a lot more graphical elements; several elements will be destroyed after a conversation to a collaboration diagram or need to be mapped. 
2. Because the two diagrams uses different layout strategies, after converting an automatic layout has to be applied. 
3. The implementation partially do not use the same type of widgets.  While both diagram types are of class UMLScene and both object type are of ObjectWidget, the connections type are of MessageWidget for sequence diagrams and AssociationWidget for collaboration diagrams. 
Because these types are incompatible, a type conversation will loose some widget informations. 
4. Changing the implementation to only use one type of class will result into an xmi incompatibility against older xmi file versions.
5. The switch is not reversible because of issue 1, 2 and 3.