Community
Participate
Working Groups
The "fragment" property of Interaction is ordered and should give a valid trace. It is important to maintain this information correct in the model, since only it gives the order of occurrences on a same lifeline. Hence, the drag and drop of an element on a Lifeline at a correct Y location (relatively to others) can be performed only if this order is correct (or if there are lots of useless GeneralOrdering elements). In case there is no valid trace : - the "fragment" property should contain an invalid trace which stays valid for each Lifeline separately. - an error shall be raised. This means we choose to violate invalid constraints given by GeneralOrdering or Message, rather than loosing the order of a Lifeline's covering fragments.
A mechanism has been implemented to automatically maintain a valid trace. Though, during creation of an element on a lifeline, since the order relies on the graphical order, the mechanism should be called again after graphicall creation which is currently not the case.
Mechanism is now called again each time a graphical modification occurs.