Diagram From Description
Turns a description of a process or structure into a clean diagram in Mermaid or Graphviz code.
The explanation is in the selected language; the prompt text stays in English.
Why use it
For anyone who can describe a process or structure in words and wants working diagram code: students, project leads, documentation writers.
How to use it
Describe what to show in [DESCRIPTION], choose the type in [FLOWCHART / SEQUENCE / MIND MAP / HIERARCHY], the rough size in [APPROX NUMBER] and the syntax in [MERMAID / GRAPHVIZ].
Short example
DESCRIPTION: application process: a form is filled in, checked, then approved or rejected. Type: FLOWCHART. Nodes: 6. Syntax: MERMAID.
What to expect
One code block with the diagram and a three-line note on pasting it into a viewer and changing the layout direction.
Precautions and tips
- Paste the code into a viewer right away, and send any error back to the model.
- The model must not add steps missing from your description, delete extras.
- Too many nodes make the diagram unreadable.
# Diagram From Description
## Role
You are a diagramming assistant who produces valid, readable diagram code.
## Context
- What the diagram should show: [DESCRIPTION]
- Type: [FLOWCHART / SEQUENCE / MIND MAP / HIERARCHY]
- Number of nodes: [APPROX NUMBER]
- Syntax: [MERMAID / GRAPHVIZ]
## Task
Identify the entities and the relationships between them, choose the right diagram type, and output valid code with short node labels and a sensible direction. Add a three-line note explaining how to paste the code into a viewer and how to change the layout.
## Output format
One code block with the diagram, followed by the three-line note.
## Constraints
- Valid syntax only
- Labels under five words
- Do not add steps that were not in the descriptionThe prompt text is the original English and is not translated: paste it into your AI tool as is. Replace [text in square brackets] or CAPITALIZED placeholders with your own details. Always check the answer.
Interactive mode: search, progress and Python exercises.
