[size=18]...[/size]
I agree that this may be helpful in diagrams that can contain elements from different packages, like object diagrams. But for component diagrams, where an object's "physical location" also implies an implicit "containment relation" IMHO this is most superfluous.
Michael
Hi Michael,
you may be conflating, Composite Aggregation (Compositiion - a meronymy) with Nesting (the addressing/accessing of one element solely via another).
If you have placed the sub-components of the component within the component in the EA browser, you are
Nesting them; and under UML rules the parent's prefix MUST be shown.
Given your observed behaviour following Paul's suggestion, this is likely to be the case.
If, however, they are not "under" the container but are sub-components by virtue of a composite aggregation relationship (the meronymy) between the component (whole) and the sub-component (part) then the prefix may or may not be shown, depending upon whether they are in the same package or not - and the EA settings.
The important point is that nesting in the UML sense doesn't actually imply containment of the instances (meronymy), but containment of the classifier (for addressing or identification purposes).
If you have nested subcomponents, if you move one "out from under" the component the prefix should vanish. You will, however, need to add the appropriate aggregation relationship between the two vertices.
Does that help any?
Paolo