Small issue with converting Sequence Diagram and Collaboration Diagram and back
UML modeling tool derived from StarUML compatible with Windows 7-10
Status: Abandoned
Brought to you by:
janszpilewski
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hello
Model-Convert Diagrams-Convert Sequence to Collaboration and vice versa creates a new additional Diagram associated with a new CollaborationInstanceSet every time. So if you convert 3 times you end up with 3 separate CollaborationInstanceSets.
My understanding is that correct interpretation of UML Standard should be that you can flip-flop between the 2 diagrams but there should be only 1 pair of Sequence/Collaboration diagrams. If this is correct, could I suggest that when a conversion occurs, the old CollaborationInstanceSet (if exists) is deleted and replaced by the new one? Cheers
Currently there is no close integration between the sequence and collaboration diagrams what could be imagined as some view types of the same model. The conversion are not part of the program and they are performed by external scripts so I think it is better if they do not delete anything. But still you may adapt them to your needs by looking at ConvCol2Seq.vbs and ConvSeq2Col.vbs. Those are easily (well, kind of) modifiable Visual Basic Script files.