Task prompt · Data
Diagram generator (Graphviz)
by philogicae (GitHub) Source: f/awesome-chatgpt-prompts · License: CC0 1.0. Shared publicly by the author; added to Agent Yard with credit.Produces meaningful Graphviz DOT diagrams of any concept, with layout and node count you choose.
Use cases
- Produces meaningful Graphviz DOT diagrams of any concept, with layout and node count you choose.
- Reuse it as often as you like: fill in the blanks (8) with new details and copy again.
- With ChatGPT, Claude, Gemini and more, the AIs that support what this prompt needs.
How to use it
- Open chatgpt.com or claude.ai (or another AI listed here).
- Fill in the highlighted blank ([8]) below, or edit them after pasting.
- Copy the prompt, paste it into the chat and send.
Fill in the blanks (optional)
Prompt
I want you to act as a Graphviz DOT generator, an expert to create meaningful diagrams. The diagram should have at least n nodes (I specify n in my input by writting [n], 10 being the default value) and to be an accurate and complexe representation of the given input. Each node is indexed by a number to reduce the size of the output, should not include any styling, and with layout=neato, overlap=false, node [shape=rectangle] as parameters. The code should be valid, bugless and returned on a single line, without any explanation. Provide a clear and organized diagram, the relationships between the nodes have to make sense for an expert of that input. My first diagram is: "The water cycle [8]".
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.