Author Topic: Generating code from Activity diagram  (Read 7144 times)

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Generating code from Activity diagram
« on: April 24, 2021, 07:25:09 pm »
Does EA have provision/ tools to generate code from an activity diagram?
thanks,
Kalpak

Takeshi K

  • EA User
  • **
  • Posts: 588
  • Karma: +38/-1
    • View Profile
Re: Generating code from Activity diagram
« Reply #1 on: April 26, 2021, 10:28:31 am »
Hello KalpakD,

See the following help page.
Code Generation - Activity Diagrams
https://sparxsystems.com/enterprise_architect_user_guide/15.2/model_domains/code_generation-activity_dia.html

HTH,
--
t-kouno

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: Generating code from Activity diagram
« Reply #2 on: April 28, 2021, 08:34:57 pm »
Dear Takeshi,
   Thanks for the link.
Is there a sample project that I can try out for better understanding?
regards,
Kalpak

Takeshi K

  • EA User
  • **
  • Posts: 588
  • Karma: +38/-1
    • View Profile
Re: Generating code from Activity diagram
« Reply #3 on: April 29, 2021, 08:55:51 am »
Hello Kalpak,

EA's official example file EAExample.eap contains the example of this feature.
(You can open the example file from the Start Ribbon.)

HTH,
--
t-kouno

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: Generating code from Activity diagram
« Reply #4 on: May 14, 2021, 02:38:01 pm »
Is there a complete example for connecting an operation (method) in a class to an activity diagram and generating code from it?
That will decide between continuing with Visual Paradigm and the buying the "Unified" edition of EA.
VP also generates operation (method) shells from UML.

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: Generating code from Activity diagram
« Reply #5 on: May 31, 2021, 01:50:06 am »
I managed to get code from activity diagram.
Which edition will suffice for code generation from class and activity diagram?
I do not need the business related tools.

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: Generating code from Activity diagram
« Reply #6 on: June 01, 2021, 09:25:12 pm »
Anyway, bought the unified edition.
So, pl consider this closed