Search code examples
umlenterprise-architectdata-exchange

Best UML diagram for representing data exchange


I have a logic between two nodes that exchange some data. Something like:

  1. Node1 sends message1 to Node2 through channel1
  2. Node2 validates message1
  3. Node2 sends message2 trough channel1
  4. Node1 receives message2
  5. ...

What's the right UML diagram that allows me to represent this data exchange?

I use Enterprise Architect so I can use also other diagram types with i.


Solution

  • Simple sequence diagram!

    In sequence diagrams you show the message exchange between objects.