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.

You'll attach

Text only

Works with

ChatGPTClaudeGeminiGrokCopilotGrok Bot

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

  1. Open chatgpt.com or claude.ai (or another AI listed here).
  2. Fill in the highlighted blank ([8]) below, or edit them after pasting.
  3. Copy the prompt, paste it into the chat and send.

Fill in the blanks (optional)

Prompt

Remix
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 best new prompts and personas, nothing else.

The Weekly is presented byyour brandSponsored · open

More Data prompts

Footer partner · openThis strip runs at the foot of every page. One partner at a time.Ask about it →