Astah User's Guide

Merge


Options for Merge

There are two options for merging projects: Easy Merge and Detail Merge


Easy Merge

When there are conflicts between two projects, it imports the contents of the prioritized project.


  1. Go to [File] - [Merge Project…].
  2. Select file to merge.
  3. Choose which file to prioritize if the files conflict, and click [OK].
    astah merge

Detail Merge

You can merge two projects by choosing which model to be overwritten per model.

  1. Go to [File] - [Merge Project…].
  2. Select file to merge.
  3. Click [Detail] button to open another window.
    astah merge

Merge Window


astah merge

Left pane: Conflict tree

The differences between the working Project and the importing Project are displayed in the Conflict Tree.


IconDescription
only_workingModels that exist only in the working Project
only_workingModels that exist only in the compared Project
only_workingModels that exist both Projects


Show Diagram DifferenceAstah Professional

To compare diagrams between the working Project and the importing Project, double-click the selected diagram in the Conflict Tree, or click [Show Diagram Difference] button.

astah merge

Merge Method

Merge Methods can be chosen for each Model selected in the Tree. If multiple Models, whose Merge Method options differ, are selected in the Conflict Tree, all the options are displayed.

  • Ignore importing Models
    If this option is selected, importing models are not included in the merged Project.
  • Replacing with importing Models
    If the importing Project is empty, the merged Models will be deleted. After merging, Models are replaced with those in the merged Project. If the importing project is empty, all Models will be deleted
  • Merge - Using this option
    Elements that exist only in either the working Project or the importing Project are merged. For other Elements, the working Project is prioritized.
  • Merge - Prefer the Importing Project
    Using this option, Elements that exist only in either the working Project or the importing Project are merged. For other Elements, the importing Project is prioritized.
  • Free Selection for each Element
    Using this option, Elements are merged according to the selection in the checkbox [Keep Elements in the Working] in the Conflict List.

Restrictions

  1. It is not possible to merge the contents of:
    Sequence Diagrams, Communication Diagrams, Statemachine Diagrams, Activity Diagrams, Flowcharts, Data Flow Diagrams, CRUDs and Mindmaps. Please select either the working Diagram or the importing Diagram.
  2. Sequence Diagrams, Communication Diagrams, Statemachine Diagrams, Activity Diagrams, Flowcharts, Data Flow Diagrams, CRUDs and Mindmaps are always displayed in the Conflict Dialog even if there is no change.