There are many different types of charts and diagrams we use to formalize scenarios and study them tangibly -- activity diagrams, sequence diagrams, etc.

I've been faced with a pretty complex locking scenario and I'd like to try and bring all the information together into one diagram so I can explain it (to others and to myself). I imagine it would be similar to a sequence diagram, but I can't formalize the thought. Is there such a mental tool and, if so, how can I use it?

  • Sounds like a random whiteboard drawing could work here, I am not sure you need UML or another formal documentation type. – user22815 Oct 19 '15 at 19:26
  • 2
    Yes, a sequence diagram seems to be the right choice. If there are many different use cases, perhaps you might need to make many sequence diagrams. – rwong Oct 19 '15 at 20:04
  • @Snowman I guess I'm just not sure how I would represent a given scenario. I had an idea, but it seems overly complex: for each component (i.e. column) of the sequence diagram, have lines running down for each possible lock it can hold. When information moves between components, it will physically run up against the lock. This doesn't account for different locks for different data, though -- and doesn't account for contrived locking (where everyone must attempt to lock the data before setting it -- what we have). – Sean Allred Oct 19 '15 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.