Specifying association classes inside vs. outside of packages

0 votes
asked Oct 5, 2016 in bug by JohannesMeier (980 points)

Hello,

I detected in class diagrams with association classes, that there is a difference where you define the association class (inside or outside of the package declaration):

 

http://www.plantuml.com/plantuml/uml/AqXCpavCJrN8p2lEJ4bLgEPIK4ZEIImkLd0qX3ET44ndGowWiAEXWgwk0bXOmz5G1yZILD1J0ChLSd4LG0tCBor1Dz48OIA2wMm4rELe13RGY4l3qGXed17OE2C0

Is this a bug?

1 Answer

0 votes
answered Feb 2 by hukameniz (5,510 points)
It's not a bug.

Order of declarations is important.

When you do an association like this, what PlantUML is doing is creating a black dot to connect the classes, if you put the association outside of the package, it creates the dot outside of the package.
...