# DiagramGPT — Flowchart — Eraser

## How to generate an AI Flowchart

**Step-by-step guide on generating a flowchart**

1. Write a prompt describing a flow (e.g. user flow, data flow, or a business process). Writing the prompt as a nested list is effective as it maps well to the branching nature of flowcharts. A couple things to keep in mind are:
   - Clearly describe key structural components such as start nodes (where the flow begins), end nodes (where the flow ends) and decision nodes (where the flow branches).
   - If applicable, call out natural groupings (e.g. system boundaries, phases or states in a flow, etc.).
2. Generate a diagram with the completed prompt.
3. Edit the diagram with follow-up prompts (this step requires signing in to Eraser).
4. Manually adjust the layout using GUI controls (this step requires signing into Eraser).

**Tips on generating a flowchart**

- If applicable, instead of writing a prompt from scratch, consider pasting excerpts from existing requirements docs, call transcripts, knowledge base articles, code (e.g. scripts), or uploading image files.
- Working with an LLM to create a fleshed out diagram prompt can be effective. Ask it to describe a flow as a nested list.

**Example diagrams**

- [Data flow diagram for online payments](/content/examples/data-flow-diagram-for-online-payments/index.html)
- [Netflix model testing process](/content/examples/netflix-model-testing-process/index.html)
- [Jenkins CI/CD](/content/examples/jenkins-ci-cd/index.html)

## FAQs

**How do I get started?**  
Try one of our presets. Select an option under "Load a preset" and click "Generate Diagram". You can also browse our [use case video library](https://vimeo.com/showcase/10471573) for more inspiration.

**Can I edit my diagram?**  
Yes, the diagrams can be edited in Eraser, a docs and diagram tools built for engineering teams. Click on "Save and Edit Diagram". In Eraser, the diagrams can be edited using Eraser's [diagram-as-code syntax](https://docs.eraser.io/docs/).

**Who made this and what is Eraser?**  
DiagramGPT was created by the team at Eraser, leveraging OpenAI's models. Eraser ( [eraser.io](/content/site-root.html)) is an AI tool for technical design and documentation. You can edit your DiagramGPT generated diagrams using Eraser.

**What types of diagrams can it draw?**  
5 types are currently available – flow charts, entity relationship diagrams, cloud architecture diagrams, sequence diagrams, and BPMN diagrams.
