Generate Scenario From Activity Diagram
You can generate a range of diagrams from a scenario in an element.
Conversely, you can also generate a structured scenario within an element from an Activity diagram, reverse engineering the steps from the diagram elements (effectively either regenerating the scenario within the Use Case, or transferring a scenario into another Use Case).
To generate the scenario from the Activity diagram, follow the steps below:
- Open the element Properties dialog, select the Scenarios tab, and select the Structured Specification tab.
- Right-click in the empty space within the tab, and select the Create Structure From Generated Activity Diagram context menu option. The Select an Activity (generated from a UseCase Scenario) containing the Diagram dialog displays.
- Search for and select the Activity containing the required diagram. Enterprise Architect validates the diagram (displaying the results in the Output window) and, if the diagram is valid, generates the scenario steps in the Structured Specification tab (replacing any existing scenario steps).