Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Use Case diagram type #4628

Open
karollewandowski opened this issue Jul 11, 2023 · 47 comments
Open

Add Use Case diagram type #4628

karollewandowski opened this issue Jul 11, 2023 · 47 comments
Labels

Comments

@karollewandowski
Copy link

karollewandowski commented Jul 11, 2023

Please do not +1 via comments. Click 馃憤 under this post.

Proposal

There is a lack of UML Use Case diagrams (or I failed to find it):
https://www.lucidchart.com/pages/uml-use-case-diagram

Use Cases

In the Unified Modeling Language (UML), a use case diagram can summarize the details of your system's users (also known as actors) and their interactions with the system

Screenshots

image
Source: https://www.lucidchart.com/pages/uml-use-case-diagram

Syntax

I have no knowledge of Mermaid conventions, but PlantUML can be a good inspiration:
https://plantuml.com/use-case-diagram

Implementation

This is a proposal which I'd love to see built into mermaid by the wonderful community.

@karollewandowski karollewandowski added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request Type: New Diagram labels Jul 11, 2023
@fidding
Copy link

fidding commented Aug 29, 2023

This is very important, even making me want to give up mermaid

@paul-friedli
Copy link

paul-friedli commented Sep 1, 2023

I totally agree with the above comments : the "Use Case" diagram is probably one of the most important of all UML diagrams !

The "Use Case" diagram is usually the first to show in a projet, as it clearly presents the whole app/solution functionalities visually, without delving into technical details (as they are usually not know at this analysis stage).

Actors, resources, ... are all there on a single diagram focusing on "who" and "what" and not on "how".

Mermaid developers : that diagram availability would really be wonderful and super useful, since the whole project UML documentation could be done with mermaid.

@Yokozuna59 Yokozuna59 added Contributor needed Status: Approved Is ready to be worked on and removed Status: Triage Needs to be verified, categorized, etc labels Sep 1, 2023
@Angelles
Copy link

Angelles commented Sep 4, 2023

I would also love to have the use case diagram type.

@simone-boa-ideas
Copy link

I'll add my voice to the growing chorus 馃槈
I would love to have this option too. It's one of the most important diagrams for the documentation since it's perfect for aligning separate teams with different backgrounds on the features of a project.
At the moment I'm forced to implement it separately (with draw.io, exporting it as an image and importing it in GH), but this is not a scalable and maintainable solution. It would be much better if it had its own support in mermaid.

@kurt-o-sys
Copy link

yes please!

@luhui
Copy link

luhui commented Oct 16, 2023

+1. Using flowcharts to simulate the effect of use cases for now

@ronnykwon
Copy link

+1 for this feature

@Flecart
Copy link

Flecart commented Oct 25, 2023

+1

11 similar comments
@7agustibm
Copy link

+1

@lefkisamuel
Copy link

+1

@ramalhom
Copy link

ramalhom commented Nov 2, 2023

+1

@haizenburg
Copy link

+1

@buudi
Copy link

buudi commented Nov 9, 2023

+1

@smusali
Copy link

smusali commented Nov 11, 2023

+1

@tienminhvy
Copy link

+1

@MiboraMinima
Copy link

+1

@kenchopa
Copy link

+1

@CamiloSinningUN
Copy link

+1

@osbyrne
Copy link

osbyrne commented Dec 4, 2023

+1

@kkrafft1999
Copy link

+100
In our software development process everything starts with a use case diagram.

@iacobucci
Copy link

+1

3 similar comments
@dholakashyap
Copy link

+1

@haibbo
Copy link

haibbo commented Dec 13, 2023

+1

@mstfkhazaal
Copy link

+1

@martinjurran
Copy link

+1

2 similar comments
@Elphly
Copy link

Elphly commented Jan 1, 2024

+1

@svboyko
Copy link

svboyko commented Jan 3, 2024

+1

@ddsultan
Copy link

ddsultan commented Jan 4, 2024

馃憤+1

@Dudelmoser
Copy link

+1

5 similar comments
@LeiShi92
Copy link

+1

@guillemparrado
Copy link

+1

@Gerentedev
Copy link

+1

@root-kidik
Copy link

+1

@YusufLisawi
Copy link

+1

@renoon
Copy link

renoon commented Jan 22, 2024

+1 馃憤

@AhmedMudkip
Copy link

+1

2 similar comments
@fenilsonani
Copy link

+1

@chris-jongho-kim
Copy link

+1

@tierpel
Copy link

tierpel commented Feb 7, 2024

+1 馃憤

@UsamaEjaz0
Copy link

+1

1 similar comment
@Supermarcel10
Copy link

+1

@karollewandowski
Copy link
Author

karollewandowski commented Feb 12, 2024

Hi all. May I ask to not +1 this via comments? If you need it, please do it via emoji in the issue description. Receiving tens of +1 emails is quite annoying. Currently, there are 43 people following this issue, and all receive these comments.

Voting via emoji is better visible on https://github.com/mermaid-js/mermaid/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc

Thank you for understanding.

@YB-A
Copy link

YB-A commented Feb 21, 2024

Hello @karollewandowski @simone-boa-ideas @fidding @paul-friedli you can use flow chart; try and adapt this :)
Bonus => you can add emoji

flowchart LR
    subgraph 'Online Shopping'
    uc1((View items))
    uc2((Make purchase))
    uc3((Complete Checkout))
    uc4((Log In))

    end
    customer[Customer馃懁]
    credit[credit_payment_service 馃挸]
    id[identity_provider馃啍]
    sa[service_authentification馃攽]
    pa[paypal馃挷]
    id--->uc1
    sa--->uc1

    customer----->uc1
    customer-->uc2
    uc2 -. include .-> uc1
    uc2 -. include .-> uc3
    credit---->uc3
    pa---->uc3
    customer--->uc4

mermaid_uc

yas in

@tom-craven
Copy link

+1

2 similar comments
@enriquesaou
Copy link

+1

@Azevedo-Erick
Copy link

+1

@hgsgtk
Copy link

hgsgtk commented Apr 17, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests