Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: KalpakD on April 24, 2021, 07:25:09 pm

Title: Generating code from Activity diagram
Post by: KalpakD on April 24, 2021, 07:25:09 pm
Does EA have provision/ tools to generate code from an activity diagram?
thanks,
Kalpak
Title: Re: Generating code from Activity diagram
Post by: Takeshi K 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,
Title: Re: Generating code from Activity diagram
Post by: KalpakD 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
Title: Re: Generating code from Activity diagram
Post by: Takeshi K 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,
Title: Re: Generating code from Activity diagram
Post by: KalpakD 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.
Title: Re: Generating code from Activity diagram
Post by: KalpakD 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.
Title: Re: Generating code from Activity diagram
Post by: KalpakD on June 01, 2021, 09:25:12 pm
Anyway, bought the unified edition.
So, pl consider this closed