In UML, what does an open arrow with a solid line show? Does it show Association (where the class with the tail knows about the class with the arrow head, while the arrow head class does not know about the tail class)?
The inheritance relationship is shown in UML class diagrams using an open arrow from the subclass to the superclass. The open arrow signifies that the superclass is a generalization of the subclass.
So basically the solid line is an association and the dashed/dotted line is a dependency. Associations can also be unidirectional, where one class knows about the other class and the relationship but the other class does not.
The UML class diagram maps out the object's attributes, operations, and how they relate. The arrows that connect classes show important relationships. The arrows denote association, inheritance, aggregation, composition, dependency, and realization among others.
In my diagrams (and in UML in general) the arrow heads point in the direction of source code dependencies, not data or control flow. In graph theory in general, arrow points to parent (“descends from”). In casual situations, laymen usually point the arrow to the children (“begat”).
Not sure how you define "open arrow", but it's either represents an extends relation or an association.
Here's a good reference image from Ivencia.com.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With