# Why are classes moved when I move a class diagram?

**URL:** <https://forums.visual-paradigm.com/t/why-are-classes-moved-when-i-move-a-class-diagram/11849>\
**Category:** General Questions/Discussions\
**Created:** [June 24, 2011, 5:30pm UTC](https://forums.visual-paradigm.com/t/why-are-classes-moved-when-i-move-a-class-diagram/11849 "2011-06-24T17:30:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinHZ](https://avatars.discourse-cdn.com/v2/letter/m/a5b964/32.png) [@martinHZ](https://forums.visual-paradigm.com/u/martinHZ)\
**Post date:** [June 24, 2011, 6:31pm UTC](https://forums.visual-paradigm.com/t/why-are-classes-moved-when-i-move-a-class-diagram/11849/1 "2011-06-24T18:31:44Z")

</div>

Hi,  
I need to move a class diagramm into another package. The diagram contains classes from different packages. When I am now detach the diagram and attach it to a package, the classes are also moved.  
Ho can I prevent this ?  
Martin

---

<div class="post-metadata">

**Author:** ![Rain](https://forums.visual-paradigm.com/user_avatar/forums.visual-paradigm.com/rain/32/2309_2.png) [@Rain](https://forums.visual-paradigm.com/u/Rain)\
**Post date:** [June 30, 2011, 6:30pm UTC](https://forums.visual-paradigm.com/t/why-are-classes-moved-when-i-move-a-class-diagram/11849/2 "2011-06-30T18:30:51Z")

</div>

Hello Martin,

Moving a diagram form one package to another, but without moving its containing models seems to be something very abnormal. In fact, our assumption is the diagram under a package should mainly modeling the things under that package. According to your description, it seems become a diagram under package A is modeling things mainly under package B. This looks very strange. Would you mind tell me more details about why you want to do in this way?

Best regards,  
Rain
