Merging diagrams graphically

Use the following procedure to merge diagrams graphically for any of the IBM® Rational® Rhapsody® diagrams, except statecharts, activity diagrams, and flow charts.

About this task

To merge diagrams graphically for statecharts, activity diagrams, and flow charts, see Merging diagrams graphically for statecharts and activity diagrams.

You can copy an element in one diagram that you would like to have in another diagram. You can copy the graphic elements from the left or right window and place them in the merge window, or create new elements in the merge window and move or size them as needed.

Procedure

To merge existing graphic elements in the Rational Rhapsody DiffMerge interface:

Note: While this procedure shows how to merge graphic elements in an object model diagram, you can use the same method to merge elements for the other Rational Rhapsody diagrams (except statecharts, activity diagrams, and flow charts).

  1. Optional: Right-click the object model diagram in the Rational Rhapsody DiffMerge browser and select View All Diagrams to review the diagrams to help you decide from which side you want to take your changes.
  2. Right-click the object model diagram and select Merge Graphically. Rational Rhapsody opens windows to show all versions of the object model diagram, including the newly created merged object model diagram in the Merge window.
  3. Right-click the object model diagram and select Take from Right, Take from Left, or Include in Merge.
  4. Review the merged object model diagram in the Merge window.
  5. Edit the merged object model diagram, if necessary.
    • Right-click an element in the merged diagram and use the options on the pop‑up menu; for example, Take from Left, Take from Right, Exclude from Merge.
    • You can move and delete elements. In addition, you can modify a textual element through its Features window.
  6. When you have completed the merge operation, save the merged file as described in Saving the merged unit.

Feedback