Direction of the association arrow in UML class diagrams

neuromancer picture neuromancer · Dec 15, 2009 · Viewed 47.1k times · Source

On this webpage which shows how to draw a class diagram, why is the arrow for association pointing from order to customer, and not from customer to order?

UML Tutorial - Class Diagrams

Answer

Pup picture Pup · Jan 19, 2017

The arrows describe navigability.

  • Navigable end is indicated by an open arrowhead on the end of an association
  • Not navigable end is indicated with a small x on the end of an association
  • No adornment on the end of an association means unspecified navigability

UML Arrow association direction

Taken from: http://www.uml-diagrams.org/association.html