Generate multiple class diagrams with 1 time instant reverse

Our product is using model repository to store the reversed class. The Instant Reverse process translate your source code into class model and put them into repository. Creating class diagram is simply visualize the class models to diagram. When perform copy & paste in diagram it basically is create another visualization of the same model therefore the changes will be reflected on both sides. You can right click on the paste target and select Paste Model Element to paste your classes as a separate model so that changes will not apply to original element. But please note that since some model types (like class) do not allow duplicate name under the same parent, if both source and target diagram are under the same container then the pasted model will have a suffix auto added to it. You may need to have the target diagram under different model hierarchy in order to have the pasted model having the same name.

1 Like