You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the UML class diagrams, it looks as if the diamonds of the composition arrow are currently adjacent to the contained class instead of the containing class, which does not seem to follow the UML spec (see e.g. https://www.omg.org/spec/UML/2.5.1/PDF Figure 11.5).
Example: OperationExpression is the containing class, Operation the contained class, so I would expect the diamond to be adjacent to OperationExpression.
The text was updated successfully, but these errors were encountered:
It is also redundant - and not proper UML - to express a single property as both an attribute and a composition role. I would just drop all the compositions.
This order of the arrow should be correct now. Thanks @jansule for spotting this and @maxcollombin for fixing this.
At last for now while we are working on the draft, we'll keep both the attribute and composition arrows despite this not being proper UML, since it's convenient to see the relationship class boxes yet it's also convenient to have the full list of attributes visible inside the boxes.
In the UML class diagrams, it looks as if the diamonds of the composition arrow are currently adjacent to the contained class instead of the containing class, which does not seem to follow the UML spec (see e.g. https://www.omg.org/spec/UML/2.5.1/PDF Figure 11.5).
Example:
OperationExpression
is the containing class,Operation
the contained class, so I would expect the diamond to be adjacent toOperationExpression
.The text was updated successfully, but these errors were encountered: