Dependency arrows

A dependency arrow is a dotted line with an arrow.

You can draw a dependency arrow between elements, or you can have one end attached and the other free. It can have a label, which you can move freely. If a dependency arrow is drawn to or from an element, it is attached to the element; the attached end moves with the attached border of the element.

Dependency line

Dependency arrows show that one thing depends on something else:

  • An object that is a (logical) instantiation of another
  • An object that creates or deletes another
  • Constraints attached to an element
  • A class that uses another class or package
  • A package that uses another package or class

You can create a dependency in a diagram or in the browser.