Showing nested method calls in a generated sequence diagram

We are evaluating the Visual Paradign (Professional Edition) SDE for IntelliJ and are currently trying to use the “Instance Reverse Java to Sequence Diagram” functionality. We are impressed with how well it works, but have one question:

The sequence diagrams we have generated so far only so a single level of method calls. When we “select an operation to form a sequence diagram”, the generated diagram only shows the calls made directly from that method. e.g. if we select ObjectA.methodA(), it will show all method calls made directly from methodA(), but not any calls made from within those called methods. If methodA() calls ObjectB.methodB(), we would like to see the calls made from that methodB() in the sequence diagram also.

Is there a way to do this?

Thanks in advance,

Shaun

Hello Shaun,

I’m sorry that currently we do not support reverse nested call, but you can link up the nested call by first reverse the target operation into sequence diagram, and then create reference from the call message to target diagram (see attached pic). Feel free to contact me if you have any further queries.

Best regards,
Rain

add_reference_to_diagram.png