Bug 462541 - [ClassDiagram] Remove double arrows on association if both ends are navigable
Summary: [ClassDiagram] Remove double arrows on association if both ends are navigable
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-19 05:54 EDT by Robert Lundbäck CLA
Modified: 2017-09-08 09:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Lundbäck CLA 2015-03-19 05:54:49 EDT
In a class diagram when associations are shown between classes, Papyrus currently shows arrows in both ends. As the case with both ends *not* beeing navigable really is strange, the UML specification has a recommendations to in the case of double navigability to remove the arrows.

---Quote from the UML spec (section 11.5.4, page 210):
 
In practice, it is often convenient to suppress some of the arrows and crosses that signify navigability of association ends. A conforming tool may provide various options for showing navigation arrows and crosses. As with dot notation, these options apply at the level of complete diagrams. 
• Show all arrows and crosses. Navigation and its absence are made completely explicit. 
• Suppress all arrows and crosses. No inference can be drawn about navigation. 
• Suppress all crosses. Suppress arrows for Associations with navigability in both directions, and show arrows only for Associations with one-way navigability. In this case, the two-way navigability cannot be distinguished from situations where there is no navigation at all; however, the latter case occurs rarely in practice. 
---end quote---

In system modeling we have used this on plenty of diagram and the result is more cluttered diagram due to these lots of arrows.

It is proposed that Papyrus follows this practical and convenient recommendation. This makes large and complicated class diagrams easier to read.
Comment 1 Robert Lundbäck CLA 2015-03-19 08:08:11 EDT
An additional comment is that one possibility is to introduce a preference for using double arrows or not when both ends are navigable.