2

[Original Title] : Does an actor need to point directly in use case diagram?


or can I do it like this?

Whole picture Use-Case-Diagram

in this Use Case Diagram, I want to say that actor can use any use case in the pointed group-of-use-case.

does this kind of thing allowed?

Edit #1

The reason why I ask this question, is because when I create this use case there's a lot of line intersecting each other that makes me confuse.

And there's a comment :

It would be better to split that into smaller diagrams

does it mean like this?

enter image description here

enter image description here

enter image description here

Edit #2

after reading comment :

A UseCase specifies a set of actions performed by its subjects, which yields an observable result that is of value for one or more Actors or other stakeholders of each subject.

so I decided to change to this :

enter image description here

is this how a use case diagram should be?

Edit #3

CONCLUSION

  • An actor should point directly to use case
  • Read more the detail about how a Use Case Diagram should be in comment on this question
12
  • Although no one is going to punish you for doing so, I think it is fine. One thing though is the color scheme is confusing, and the groupings might look better with a venn diagram.
    – ergonaut
    Nov 12, 2015 at 16:04
  • 1
    I think it's rather confusing to show the same actor multiple time on the diagram, and it definitely is not UML. Furthermore I would nog add this much things on a diagram. It would be better to split that into smaller diagrams. Nov 12, 2015 at 19:18
  • 2
    No, the official definition is: A UseCase specifies a set of actions performed by its subjects, which yields an observable result that is of value for one or more Actors or other stakeholders of each subject. In this case I think View Home has little or no value to the Actor, and I can imagine that it isn't really a complicated set of actions either. So you can probably safely omit that and maybe add a step or a precondition in your other use cases about he homepage. Nov 13, 2015 at 8:10
  • 1
    the UML standard is managed by the Object Management Group (OMG). See uml.org for the official specs. Nov 13, 2015 at 9:42
  • 2
    YES, that is what use cases is about! Well done. Nov 13, 2015 at 10:16

1 Answer 1

4

To be UML compliant you can not do that. But I guess one can understand what you are trying to communicate.

As a side note: Login is not a business use case. It is a constraint. Also with CRUD use cases I would not separate them but have a Maintain <object> instead (which itself is some borderline use case since maintaining something is not directly business relevant). You can constrain maintenance operations to certain actors separately.

Edit Regarding Login (one of my favorites): Use cases are most commonly used to describe business context (exactly as you are doing). So when looking from a business perspective, a Login is not a use case, but a simple constraint (you can do the business relevant things only when you are logged in).

enter image description here

Now for the Manage/Maintain use cases. They are on a similar level. Usually the "managing" itself is not directly business related. In many cases the focus on the real business was lost. So instead the reason why you manage something is the real use case (e.g. Correct User Data, Collect User Data). This is quite challenging and I confess that sometimes I also fall back to Manage. Most people don't bother but doing a good job requires to think over basics and not adopt bad habits.

3
  • care to explain more about Maintain <object> ? also isn't a use case should be what an actor could do with the system ?
    – Rizky
    Nov 13, 2015 at 7:46
  • please check my edited question. is that a proper use case should be?
    – Rizky
    Nov 13, 2015 at 10:14
  • I have added a few infos to my answer.
    – qwerty_so
    Nov 13, 2015 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.