Documenting an Exchange scenario

I am using M2Doc to generate the documentation associated to an Operational Exchange Scenario. This topic can be extended to any other interaction.

I am able to select all messages exchanged
selection.eContents(interaction::SequenceMessage)

but I am not able to associated messages to the operand of the combined fragment they belong to.
Is there any way by querying the model or the Sirius diagram?

I can’t find any link in the Capella model nor the Sirius diagram… I think you will need to use some code from the sequence diagram from Sirius and write a Java service with it. I had a quick look and found ParentOperandFinder that might do what you want.

Hi Yvan,
thank you for the hint. I will keep the forum updated if I will be able to generate a viable solution.

1 Like