M2DOC Functional Chain ir order

Hello, I’m using M2DOC to generate documentation and I like to know if it’s possible to get the functions of a functional chains in order ?
I know that it’s possible to get the first fonction with
.firstFunctionalChainInvolvements
And we can also get the next function with
.nextFunctionalChainInvolvements
But how could I put this in a Loop ?
thanks for your help :slight_smile:

Hello

You should find what you expect/need among the many helpers available in Capella such as FunctionalChainXXXHelper
For example : FunctionalChainHelper

I am not an expert using M2Doc but I guess/hope these helpers could be available for you.

Best reagards
Laurent

You can use the template property wizard to import the class FunctionalChainHelper from the above answer. To do so you will need to add a plugin dependency from your project to the plugin org.polarsys.capella.core.data.helpers.

Ok thank you very much for your answers I’ll try them !
Best regards,
Flicsss