Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - scott2012

Pages: [1]
1
Thank you sir:exclamation I believe that that's the right idea. The exact algorithm will have to take multiple nesting into account. But it should work.

2
I have been able to extract messages in sequence diagrams. Once I have the connector, I can get the client and supplier classifiers. Now I need to deal with message/method nesting. For instance:

Message1 from one Class1 to Class2 starts a method-box on the lifeline of Class2. Now assume that there is a Message2 in that method-box which goes from Class2 to Class3.

This means that Message2 is called from within Message1.  How do I discover this using the API?  I looked at the ConnectEnds and one would expect that SupplierEnd of Message1 would be the same as the ClientEnd of Message2. However, this isn’t the case. All ConnectorEnds appear to be unique.

So, how do I discover that Message2 is being called from within Message1? Any help is greatly appreciated.

Pages: [1]