Skip to content

Instantly share code, notes, and snippets.

@Tridy
Last active October 17, 2022 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tridy/c916aa257d7681fc4299e49cd4299a87 to your computer and use it in GitHub Desktop.
Save Tridy/c916aa257d7681fc4299e49cd4299a87 to your computer and use it in GitHub Desktop.
An example of the Mermaid script to use for making similar graphs that are used in IDesign documentation for use cases.

A Mermaid diagram used to create a diagram used in describing the use cases in IDesign documentation:

flowchart TD
    Start((start)) --> RequestAssign(Request Assign\nTradesman)
    RequestAssign --> VerifyRequest(Request Assign\nTradesman)
    VerifyRequest --> Validation{  }
    Validation --> |Not Valid| Error(Error)
    Validation --> |Valid| AssignToProject(AssignT to Project)
    Error --> Exit((exit))
    AssignToProject --> Exit

    classDef default fill:#ffffff,stroke:#000000,color:#000000,stroke-width:2px;text-align:center
    
    classDef start fill:#000000,stroke:#000000,color:#ffffff

    class Start,Exit start;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment