0

I am new to UML sequence diagrams. I saw a few YouTube videos and a few tutorials such as this one.

I have a system with multiple inputs, that can interact with the system asynchronously. For example, first the input 4 (out of 5), secondly the input 1 (out of 5), etc. How do I represent them in a UML Sequence diagram?

Thomas Owens
85.7k18 gold badges210 silver badges308 bronze badges
asked May 24, 2020 at 21:22
1
  • 1
    What do you think is an input (/with respect to SDs)? Commented May 25, 2020 at 15:27

1 Answer 1

3

An UML sequence diagram shows an example sequence of events/calls that happen for an interaction of a single actor with the system.

If you have multiple interactions with the system that can happen in various orders, but they don't directly affect each other (for the processing of input 1 it doesn't matter if input 2 is also being processed at the same time), then you would draw separate sequence diagrams for each interaction.

If the processing does depend on which inputs are active at the same time, then you can

  • try to draw the possible combinations in one diagram
  • create separate diagrams for each combination, especially if the order of activation is also relevant
  • come to the conclusion that sequence diagrams are not the right tool for this case.
answered May 26, 2020 at 14:54

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.