Version: (using KDE KDE 3.3.2) Installed from: Debian testing/unstable Packages If in a class diagram is shown two classes without any relationship, so in the tree view they are at the same deep level, when you drag one of them and drop it in the other, the former class is now contained under the second class, BUT a Containment association should be shown in the diagram, and it isn't. note: If you remove the class from the diagram and add it again, the result is Ok, the association is shown.
Since not all diagrams show all associations it's impossible to automatically add all associations because they may not be wanted.
I think is more consistent if the relationship is shown by default, and then the user can remove it if he wants. This must have the same argument that the one taken when decided that a class dropped to a diagram shows its relationships with the others.
CVS commit by okellogg: UMLView::updateContainment(): New. Synchronizes containment association with changed model object parentage. BUG:95247 M +2 -2 ChangeLog 1.59 M +3 -2 umbrello/umllistview.cpp 1.144 M +55 -2 umbrello/umlview.cpp 1.202 M +10 -0 umbrello/umlview.h 1.68