Menu

Small issue with converting Sequence Diagram and Collaboration Diagram and back

Anonymous
2014-07-01
2014-07-01
  • Anonymous

    Anonymous - 2014-07-01

    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

     
  • Janusz Szpilewski

    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.

     

Anonymous
Anonymous

Add attachments
Cancel