I understand the difference between include relationship and extends relationship in UML Use Case diagram but there are particular cases that I don't know how to handle. One of these is the following:
There's a customer, some shops, a catalogue and some items sold by shops.
The customer wants to know:
- What are all the shops in the system
- What is the catalogue (a set of items) of a shop
- Visualize the price and all the other information about an item in a catalogue of a shop
I want to design this situation with a Use Case diagram. So i made these three diagrams and I don't know which one is the correct one or if there's another way.
- In the first one the customer triggers "search shops" which eventually triggers "view shop catalogue". So in the flow of events there will be an if condition.
- In the second one the customes trigger all the three use cases but "view shop catalogue" needs to include "search shops" in order to be performed.
- In the third one there are extends instead of includes and the meaning it's like the first one.