Specifying association classes inside vs. outside of packages

0 votes
asked Oct 5, 2016 in Bug by JohannesMeier (460 points)


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):



Is this a bug?

1 Answer

+1 vote
answered Feb 2, 2018 by Anthony-Gaudino (5,720 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.