Book a Demo

Author Topic: Generation of sequence diagram from source code  (Read 14521 times)

kpu

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Generation of sequence diagram from source code
« on: September 09, 2013, 05:06:45 pm »
Hello.

I was unable to find out from help whether it is possible to auto-generate sequence diagram from source code or not.
Auto-generated class diagram, but I was unable to somehow 'convert' it to sequence diagram also .

What is the quickest way to construct sequence diagram based on source code?

I'm interested in generation of such diagrams from Java, ActionScript & C++ source code.

Kind regards, Alexander.


P.S.
I was unable to find similar topic on this forum, so created this one topic with question.
« Last Edit: September 09, 2013, 05:08:01 pm by kipu »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Generation of sequence diagram from source cod
« Reply #1 on: September 10, 2013, 08:48:51 am »
You can't reverse-engineer a sequence diagram from code, but you can record execution flow as a sequence diagram. Look in the help file under "Execution Analyzer | Recording Sequence Diagrams"
The Sparx Team
[email protected]

kpu

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Generation of sequence diagram from source cod
« Reply #2 on: September 10, 2013, 03:50:29 pm »
Thank you for fast reply.
I'll try this way for my Java & C++ source code.

Am I right this way is suitable only for set of languages:
- Microsoft Windows Native C
- Microsoft Windows Native C++
- Microsoft Windows Visual Basic
- Microsoft .NET Family (C#, J#, VB)
- Sun Microsystems Java
- PHP
?
(Documentation says so at preface of 'Visual Execution Analyzer' chapter.)

If it is so, then I'll be unable to construct sequence diagram for my ActionScript code :(
Am I right?