ipIterPrompt

Diagram Generator

Turn any AI chat into a diagram generator with this community persona prompt.

philogicae · awesome-chatgpt-promptsUpdated 2026-06-105,276 copies

Diagram Generator is a community-contributed prompt from awesome-chatgpt-prompts (CC0). Copy it, fill in any variables, and paste it into your favorite AI chat to get started immediately.

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

Run this prompt on a real model without leaving the page. Every run is saved to your history for this prompt.

How to use

  1. 1Copy the prompt as-is — no variables required.
  2. 2Paste it into ChatGPT, Claude, Gemini, or any capable model.
  3. 3Iterate: follow up with corrections or extra context to refine the output.

Related

Evening at a Turkish Dessert Shop - A Photographic Story

Turn any AI chat into an evening at a turkish dessert shop - a photographic story with this community persona prompt.

5,310 copiesOpen ↗

Travel Guide

Turn any AI chat into a travel guide with this community persona prompt.

5,266 copiesOpen ↗

Dynamic Cover Letter Generator

Turn any AI chat into a dynamic cover letter generator with this community persona prompt.

3,665 copiesOpen ↗

Senior Crypto Yapper & Community Strategist

Turn any AI chat into a senior crypto yapper & community strategist with this community persona prompt.

4,960 copiesOpen ↗