name: Diagram Proposal
description: Suggest a new Diagram Type to add to Mermaid.
labels:
  - 'Status: Triage'
  - 'Type: Enhancement'

body:
  - type: markdown
    attributes:
      value: |-
        ## Before you submit...
        First of all, thank you for proposing a new Diagram to us.
        We are always happy about new ideas to improve Mermaid.js wherever possible.

        To get the fastest and best response possible, make sure you do the following:

        - Use a clear and concise title
        - Fill out the text fields with as much detail as possible.
        - Never be shy to give us screenshots and/or code samples. It will help!
  - type: textarea
    attributes:
      label: Proposal
      description: A clear and concise description of what should be added to Mermaid.js.
      placeholder: Mermaid.js should add ... because ...
    validations:
      required: true
  - type: textarea
    attributes:
      label: Use Cases
      description: If applicable, give some use cases for where this diagram would be useful.
      placeholder: The Diagram could be used for ...
  - type: textarea
    attributes:
      label: Screenshots
      description: If applicable, add screenshots to show possible examples of how the diagram may look like.
  - type: textarea
    attributes:
      label: Code Sample
      description: |-
        If applicable, add a code sample for how to implement this new diagram.
        The text will automatically be rendered as JavaScript code.
      render: javascript
