0

I have the big use-case diagram:

enter image description here

May I pack some use-cases in packages and then show diagram by the following way:

enter image description here

1
  • 3
    Pick whatever suits your needs - use case diagrams are a more or less informal way of describing requirements.
    – Doc Brown
    Commented Apr 7, 2016 at 10:39

2 Answers 2

2

I think you're missing the point of use case diagrams. They aren't to say, here's an actor, here's a use case. Your diagrams should be taking me through the story of a use case. That story should be more than just one oval. Whether you should be bundling multiple use cases together in one diagram has more to do with how complex the use cases are and if they fit on one page.

If you're just looking for a way to abstract similar use cases together because the rest of their story is identical then sure. Use whatever grouping picture you like. Just be consistent.

If you wish to show a multitude of something without giving each one a different label the stack has always been my choice. It's easy to do on the whiteboard as well.

enter image description here

With this you can start to ask, is the package box still needed? Could each oval simply be labeled "basic use case" and "additional use case"? If the oval is known to be a use case can you just use "basic" and "additional"?

5
  • I agree with you; but I have the real complex diagram that doesn't fit on one page, and I'm thinking now how to break it on multiple pages correctly. So I just make the simple example to describe my breaking idea :) Commented Apr 7, 2016 at 9:20
  • Is there any good reason each use case can't have it's own page? Commented Apr 7, 2016 at 9:30
  • Yes, I think, that it's may be the solution in my case. But is the described above approach allowed in the general case? Commented Apr 7, 2016 at 9:47
  • I suspect you're looking for a way to abstract. To put all the similar use cases in a labeled box. If you were my coworker I'd have no problem with you repurposing the package icon. However, there is a more typical way to show multiple similar things. It's called a stack. Hang on and I'll add a graphic. Commented Apr 7, 2016 at 9:59
  • @QueueOverflow there ya go Commented Apr 7, 2016 at 10:20
1

In most of my projects we used a distinction between Diagram and Model in the way that a diagram always shows a view of the Use Case Model. In other words: a diagram is purposed towards the readability and per se not complete in the sense that all model elements are visible.

Therefore:

yes, as CandiedOrange suggested, you can show the actor (or actors) of each Use Case in a separate diagram (but it would be overkill of course).

I would recommend that you show all the Use Cases you want to mention/talk about in one diagram - to show

  • that they are similar,
  • that they belong together,
  • that they contribute to a User Story, or
  • that they are executed/triggered/run by a certain Actor or Role.
  • ..

Create several diagrams and name each of them according to the purpose of what the diagram is supposed to explain.

Use (or abuse) the package element in any way you like as long as you feel that your audience gets a benefit out of it. (I'm fine with it, just like Doc Brown)

Depending on the UML tool you are using, you might want to use additional graphical elements to mark or group Use Cases.

And yes, as kind of your signature it is best practice in my experience to stay consistent in the additions you make. You don't have to stick to one thing you chose forever (IMHO) but your audience will have a hard time adjusting if you frequently introduce new ways of expressing the logic of the software or the processes the software supports or implements. It is tempting to do this with a Use Case Diagram... I know.

One last thing

Referring more to the title of your question than its phrasing:

Why not print it in Wallpaper size?

I think Use Case Diagrams are made for huge displays and there is no better way to showing off the BIG PICTURE.

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.