[umbrello-devel] [umbrello] [Bug 53378] Sequence and Collaboration diagram switching

Ralf Habacker ralf.habacker at freenet.de
Thu Mar 27 23:21:45 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=53378

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralf.habacker at freenet.de

--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list