Bug 512808

Summary: Not possible to use ownership dots at the end of association ends to show property ownership in UML diagrams
Product: [Applications] umbrello Reporter: julings12
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: REPORTED ---    
Severity: wishlist CC: julings12, ralf.habacker
Priority: NOR    
Version First Reported In: 25.11.90   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Image showing the issue of the missing UML diagram configuration field
Image showing an example of how UML shows the ownership dot

Description julings12 2025-11-30 18:49:34 UTC
Created attachment 187272 [details]
Image showing the issue of the missing UML diagram configuration field

SUMMARY
Good day team, according to the current UML standard v2.5.1, it is possible to show Ownership of Association ends by an associated Classifier. This is done via the use of a dot at the end that touches the owned Classifier as a Property.

You can find details in the standard, in chapter 11, specifically in section 11.5.4, in page 202 https://www.omg.org/spec/UML/2.5.1/PDF the relevant part says:

"""
Ownership of Association ends by an associated Classifier may be indicated graphically by a small filled circle, which for brevity we will term a dot. The dot is to be drawn integral to the graphic path of the line, at the point where it meets the Classifier, inserted between the end of the line and the side of the node representing the Classifier. The diameter of the dot shall not exceed half the height of the aggregation diamond, and shall be larger than the width of the line. This avoids visual confusion with the filled diamond notation while ensuring that it can be distinguished from the line. The dot shows that the model includes a Property of the type represented by the Classifier touched by the dot. This Property is owned by the Classifier at the other end. In such a case it is normal to suppress the Property from the attributes compartment of the owning Classifier.
"""

The major usefulness of this ownership dot notation, is that at a glance the diagram shows whether the Association End is owned by the Association itself, or by the Classifier on the other end.

STEPS TO REPRODUCE
1. Open Umbrello
2. Create a Class diagram
3. Create two classes in the Class diagram
4. Join them using an Association (doesn't need to be a Directional Association).
5. Try to show ownership of the Association Ends using the dot specified in the UML standard.

OBSERVED RESULT
Umbrello has no way of displaying said dot.

EXPECTED RESULT
Umbrello should have a configuration to show this ownership, possibly by going to Association Properties -> Role settings. See the attachment to see the GUI screen missing this configuration. In the Role settings screen it could have an Ownership field, in there the user would set the Ownership to either the Association (no dot displayed), or to the Classifier (the dot is displayed).

SOFTWARE/OS VERSIONS
Ubuntu 25.10, with Umbrello installed via Discover with the Flatpak backend.
Comment 1 julings12 2025-11-30 19:55:03 UTC
Created attachment 187274 [details]
Image showing an example of how UML shows the ownership dot

I'm adding an attachment, the one called "Second attachment (example of how it looks in UML).png" that shows an example of how a diagram looks with the ownership dot. Thank you.
Comment 2 Ralf Habacker 2025-12-02 07:37:51 UTC
Implementing “dot semantic” (ownership dot) for class diagrams in Umbrello would require:

- Extending Umbrello’s model to record the ownership metadata per association end,
- Extending the UI to allow the user to set that metadata,
- Extending the diagram renderer to draw a properly sized and placed filled circle when needed,
- Ensuring persistence (save/export) honors ownership metadata,
- Keeping default behavior unchanged for existing or non‑dot users,
- Possibly improving documentation to help users understand and use the feature correctly.