mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
70.77k stars 6.35k forks source link

Add actor symbol from sequence diagrams to Flowcharts #4787

Open Ogglas opened 1 year ago

Ogglas commented 1 year ago

Proposal

I know that the Actor symbol is not a part of the common Flowchart Symbols. However it is quite often that we feel the need to show an Actor / User / Person.

Right now we use Trapezoid with fontawesome fa:fa-user to get an actor in but the actor symbol from sequence diagrams would be really nice to have.

image

flowchart
    A[/fa:fa-user Actor\]

Added image above since GitHub does not support fontawesome for Mermaid.

https://github.com/orgs/community/discussions/11940

sequenceDiagram
    actor Actor

https://mermaid.js.org/syntax/sequenceDiagram.html#actors

Example

No response

Screenshots

No response

mehraankush commented 11 months ago

what is this issue can you explain it more ..

Ogglas commented 11 months ago

what is this issue can you explain it more ..

Add actor symbol from sequence diagrams to flowcharts as well:

https://mermaid.js.org/syntax/sequenceDiagram.html#actors

aaron-castor-katz-arcticwolf commented 6 months ago

Actors are a common symbol in DFDs used to represent humans that interact with systems. They are typically represented as stick figures.