Search code examples
umldiagramuse-case

Is this UC diagram correct?


The question is about 3 use cases:

  • Add medicine to favorite
  • Vote for a medicine
  • Read about a disease

which have to go through the use case Get diagnosis and drug recommendation first (you cannot get to them otherwise).

In addition, both Add medicine to favorite and Vote for a medicine enforce the logging constraint on the user.

uc

Is this diagram accurate and correct?


Solution

  • If you can access those functions only from Get diagnosis and drug recommendation then they are probably not separate use cases, just alternative paths of the said UC. If they require login, it may become an extending UC, however login is not really bringing any value and usually also isn't presented as a separate UC unless it brings some additional logic to the diagram (e.g. additional actor like some social media system).