Question : HTML 5: sequence diagram: linked components move together

1) I want to drag and drop class diagram, and draw sequence via mouse by end user.  This feature is similar to UML tool drawing sequence diagram.  

My questions is when drawing sequence line, it is linked/associated with two classes, when I move either classes, how let the sequence line move at the same time.

Answer : HTML 5: sequence diagram: linked components move together

I think this can be done by simulating the same thing done by Microsoft word.
They allow the elements to be dragged together if they are grouped together.

So what you need to do, is as soon as a sequence line comes in contact of a line for a class, you need to make a virtual grouping of the two and then drag logic should take care of the grouped elements being dragged together.

Let me know if this was helpful
Random Solutions  
 
programming4us programming4us