How to create a use case diagram that involves generating/changing data and database

I need to create a use case diagram for following logic of programs, but I am not sure of the correct way. Especially, I am not sure how I can represent the data and the uses of it by the programs. Is the following use case diagram correct? If not, what are to change? Logic: There are program P1 and P2, data D1 and D2, a database DB1, and users U1/U2/U3. U1 uses P1 to generate D1 and save it into DB1. U2 uses P2 to view D1 loaded from DB1. If U2 sees some part of D1 need to be changed, he adds that to D2 using P2. U3 uses P2 to view D2, and approves or reject D2. If D2 is approved by U3, D1 changes according to D1.

Jan 9, 2025 - 00:46
 0
How to create a use case diagram that involves generating/changing data and database

I need to create a use case diagram for following logic of programs, but I am not sure of the correct way. Especially, I am not sure how I can represent the data and the uses of it by the programs. Is the following use case diagram correct? If not, what are to change?

Logic: There are program P1 and P2, data D1 and D2, a database DB1, and users U1/U2/U3. U1 uses P1 to generate D1 and save it into DB1. U2 uses P2 to view D1 loaded from DB1. If U2 sees some part of D1 need to be changed, he adds that to D2 using P2. U3 uses P2 to view D2, and approves or reject D2. If D2 is approved by U3, D1 changes according to D1.

enter image description here