Reputation: 2000
I've started learning UML but it confuses me sometimes (for example what i'm allowed or not to put in my USECASE diagram, last time i was wondering if logging in can be used in usecase diagram). Anyways i've made simple usecase diagram of e-learning platform, like lynda but you have to pay for individual course you'd like to take. Any suggestions/corrections about my diagram? (i'd like to bring more usecases into it)
Upvotes: 2
Views: 7343
Reputation: 1
From a while I'm training basic skills in Software Engneering area and create small simple project where users will exchange offers without money. Apart of financial system. So I've just created some Use Cases with Diagrams on basic system scenarios and I want to ask You for a help to check. Is it quite good what I've created or I've here a lot of of particular mistakes. From the last couple months I read a book about Software Engeneering and this is a part where I try to create something practical.
UC 3. Adding offer of service
UC 4. Modification of offer introduced service
If it's necesserly I can add functional lrequirements to better understand the idea of project.
Upvotes: 0
Reputation: 21
Login is not a user goal. Login is necessary to be able to satify the user goal of register. If a user logged in, did nothing else, and logged out, what value does that provide? None.
Upvotes: 2
Reputation: 8654
I would split that Usecase called Register/Login
into two separate Usecases. I think these steps are two separate actions and need different steps to execute. This way you are also able to transform the Usecases to Composites.
We often do it this way:
Then you could add more detailed steps on how to implement/execute the certain Usecase in the Activity Diagram.
This answer is specific to Enterprise Architect of course.
Upvotes: 2
Reputation: 2777
as you know, a use case is a textual representation of a flow between a user and the system. the use case should have a name that reflects that flow. when i look at your use case names i can see that you have understood this. the names are all descriptive and well thought through. well done!
so, about use case diagrams: the purpose of a use case diagram is to make it easier to understand what use cases there are, and what type of users the use cases are intended for. because of this, the arrows always go from an actor to a use case.
sometimes an actor can be a separate system, and then it should be included in the use case diagram as an actor, with a name that hints to the actor being a system. if a group of persons for some reason could have a name that include the word 'system', i think it should be clarified that the actor portraying that group of persons is not an actual system, although the name of the actor hints to it being a separate system.
Upvotes: 3