MagicDraw 19.0 LTR Documentation

Refactoring allows you to modify model elements including all related data. Within refactoring, you can convert element types, replace elements, decompose diagrams, and perform other actions.

All the refactoring commands have been moved under the Refactor command in the shortcut menu of the particular element. Now the refactoring covers the following commands:

  • Convert To. 
  • Replace With.
  • Reverse Direction.
  • Reverse Flow Direction.
  • Extract.
  • Split Control Flow for the selected Control Flow edge.
  • Split Object Flow for the selected Object Flow edge.
  • Join Connector for the selected split Control Flow or Object Flow edge.
  • Swap.
  • Redefinition.

To perform refactoring

  1. Right-click an element in the Model Browser or on the diagram pane.
  2. From the shortcut menu, point to Refactor and select one of available commands for the selected element.

Some of the Refactor sub-commands are available only in element shortcut menu that is opened from the diagram pane, not available in the Model Browser.

  • No labels