Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Generate Diagrams

When you have created a structured scenario, you can generate diagrams of any of these types from it:

  • Activity
         -  Basic
         -  With ActivityParameter
         -  With Action
         -  With Action Pin
  • Rule Flow
  • State
  • Sequence
  • Robustness


On a diagram or in the Browser window, click on the element and:


Start > Desktop > Design > Scenario Editor

Context Menu

Browser window > Element | Scenarios | New Scenario > Scenario View

Browser window > Element > Scenarios | right-click on existing scenario | Structured Scenario Editor

Keyboard Shortcuts

Alt+1 > Scenario Editor


On the 'Scenarios' tab of the Responsibilities window, click on the Edit button against a scenario (see the Scenarios Tab - Responsibilities Window Help topic)

On the 'Scenarios' tab of the element 'Properties' dialog, click on the Structure Editor button (see the Scenarios Tab - Properties Dialog Help topic)

Generate the required diagram



See also


Create the scenario structure in the Scenarios view.

Scenarios View


Click on the Scenario Generation Dialog ('Generate Diagram') icon in the toolbar on the tab.


Click on the type of diagram to generate.

Enterprise Architect generates the diagram and notifies you that generation is complete. Click on the OK button and then close the 'Properties' dialog to review the diagram.

If the diagram being generated already exists under the selected element, a prompt displays to overwrite or synchronize with that diagram.

Select the appropriate radio button to:

  • Overwrite the existing diagram (delete the existing diagram and elements, and create a new diagram and elements) or
  • Synchronize the elements in the existing diagram with the scenario steps (however, Sequence and Robustness diagrams cannot be synchronized)


  • The 'Synchronize elements in existing diagram' option enables the 'Preserve Diagram Layout' checkbox, which you can select to preserve the existing arrangement of elements and connectors on the diagram; any new elements are added to the diagram in the default position, and you manually position them in the diagram as required; if you do not select the checkbox, the diagram is recast in the default layout
    It is recommended that you uncheck the 'Preserve Diagram Layout' checkbox if you are synchronizing elements with scenario steps:
         -  When new steps have been added or existing steps have been deleted or moved within the Use
         -  For the first time in a Use Case that has been imported from XMI with the 'Strip GUIDs' option
         -  For the first time in a Use Case that has been copied and pasted in the Browser window, or
         -  For the first time in a Use Case whose containing Package has been copied and pasted in the
            Browser window

Learn more