Sequence diagram order by tipe

Dear all,

I try to create an xml template for Report Writer. I have a sequence diagram and I want to realize a table with the list of each element of the sequence diagram ordered name or type.

I can do this kind of sort for each diagram.It works for the useCaseDiagram, ActivityDiagram…but doesn’t work for the sequence Diagram.

I wrote this piece of code, I have alredy installed the ServicePAck2 version for the vp-UML









Could you please help me to invastigate and find the error in my code???

Thanks in advance

Hi user,

Thanks for your post. We fixed the problem already and please find the latest patch from the link below. Hope this helps.

http://files2.visual-paradigm.com/200902/Patch/sp2_20090212e/VP_Suite_Windows_3_4_sp2_20090212e.exe

Best regards,
Lilian Wong

Dear Lilian,

I’m sorry but I’ve installed the patch but the “sortBy” by modelType doesn’t work for the sequence diagram…

Maybe my code is wrong…
This is my code













This is the output that I obtained:
Activation1 (Activation)
CombinedFragment1(Combined Fragment)
Actor (Actor)
LifeLine (Lifeline)
Operand (Interaction Operand)

This is the output that I would like to obtain:
Activation1 (Activation)
Actor (Actor)
CombinedFragment1(Combined Fragment)
Operand (Interaction Operand)
LifeLine (Lifeline)

Could you please help me???

Hi user,

I tried your code and I did get the result you want. You can find the template file I used (it’s inside VPSuite/resources/Report/Default/SequenceDiagram) attached, and the result I get with this template in the image below.

Best regards,
Lilian Wong

results.png
Children.xml