Programming & Development

awesome-chatgpt-prompts - 2025-10-21

Intermediate

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]".

0 0

Use Case:
The user asks the model to generate Graphviz DOT code for a diagram that visually represents a specified concept, ensuring a minimum number of nodes, specified layout and shape, and outputting the code on a single line without any styling or explanation.

Expected Output:
The model should output a single line containing a valid Graphviz DOT string that defines an 8‑node diagram of the water cycle, with nodes numbered, no styling, using layout=neato, overlap=false, node shape=rectangle, and edges that represent the water cycle relationships.

Your toast message here