umlassociationscomponent-diagram

UML component diagram named association to show dependency between components


Can I use directed named association on component diagram to show fact that "sys A" sends data to "sys B"?

Example:
diagram


Solution

  • No, you should use general purpose dependency instead, with optional title.

    enter image description here

    However, the title is not very common in this context. Better use some other diagrams (sequence for example) to show the communication details (e.g. open connection, send data, close connection, etc).

    If there is a well defined interface between those systems, you can indicate that as well like this:

    enter image description here

    Association is used between two classes to show that their instances are potentially connected (again, not for data flow indication).