uml - How to make Sequence Diagram for Update Inventory -


i'm preparing sequence diagram project. made following sequence diagram retailer updating inventory

it's confusing me because first time use technique real project.i have used database object here , don't know whether right or wrong. , thing need clarify using updating meant both editing/add new item inventory. wrong way? or else can draw separately?

the following image part of updating process, 1 take , correct me if did mistake.(updateui- user interface).thanks in advance.

this image

it not right. there couple of issues:

  • your database never issue messages
  • actions inside db not exposed. call crud outside db.
  • you mix synch/asynch (likely unwillingly). filled arrows synch, unfilled ones asynch.
  • main page v in mvc , updateui c. controller act on click user , interact db.

so guts here more reasonable sketch:

enter image description here


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -