1 / 12

Sequence Charts

Sequence Charts. Edel Sherratt. Visualizing Interactions. UML sequence diagrams Message Sequence Charts (ITU) And there are many other ways to illustrate dynamic interaction. UML sequence diagram. Vertical lifelines represent processes Horizontal arrows represent messages

rupert
Télécharger la présentation

Sequence Charts

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sequence Charts Edel Sherratt

  2. Visualizing Interactions • UML sequence diagrams • Message Sequence Charts (ITU) • And there are many other ways to illustrate dynamic interaction

  3. UML sequence diagram • Vertical lifelines represent processes • Horizontal arrows represent messages • solid arrow heads: synchronous messages • open arrow heads: asynchronous messages • dashed lines: reply messages.

  4. Some Examples • http://www.tutorialspoint.com/uml/uml_interaction_diagram.htm • https://www.lucidchart.com/pages/uml/sequence-diagram • http://www.conceptdraw.com/solution-park/diagramming-uml • http://en.wikipedia.org/wiki/Sequence_diagram • http://www.ibm.com/developerworks/rational/library/3101.html

  5. Message Sequence Chart • Originally developed to specify real-time communication • Vertical lines represent autonomous executing entities • Arrows represent asynchronous messages

  6. Example

  7. Business Processes as Sequence Charts • A simple message sequence chart • Vertical lines represent roles • Arrows represent asynchronous messages

  8. From before: Purchasing Process • S = Supplier C= Customer • C asks S for price • S sends price to C • C send Purchase order to S • S sends goods to C • C signs GRN and send to S • S sends invoice to C • C send cheque to S • C reports fault to S • S send credit note to C

  9. Purchasing Process as a Sequence Chart

  10. Betty’s and Mike’s • Betty’s Bakery Ltd. orders 20 pallets of wholemeal flour from Mike’s Mill Ltd. • Mike's sends a delivery of 15 pallets of wholemeal and 5 pallets of white flour. • Betty’s accepts the wholemeal, but returns the white flour. • At the end of the month, Betty’s Ltd. pays for the 15 pallets of wholemeal.

  11. Exchange of Paperwork

  12. Summary • Visualizing exchange of messages • UML sequence diagrams • ITU standard message sequence charts • Simple sequence charts to represent business processes • Think about how sequence charts could be used by web developers

More Related