How to generate an AI network diagram
Step-by-step guide on generating an network diagram
- Write a prompt describing the network architecture. A simple one-liner can work too but the best prompts are usually at least 3-4 sentences long. Applying the below framework generally yields good results:
- First, write out the structural components of the diagram. List out the network resources (e.g. routers, switches, firewalls, devices). It's helpful to numerate how many of the same resources (e.g. 3 switches) are necessary. Also list out the network boundaries (e.g. public network, company network).
- Then, write out how network traffic flows through those components. An easy way to do this is to write out the sequential flow of how different types of data (e.g. public Internet traffic, VPN traffic, emails) flow through the network.
- Generate a diagram with the completed prompt.
- Edit the diagram with follow-up prompts (this step requires signing in to Eraser).
- Manually adjust the layout using GUI controls (this step requires signing into Eraser).
Tips on generating an network diagram
- If you’re in a hurry, instead of writing a prompt from scratch, consider pasting excerpts from existing documents, call transcripts, code (e.g. XML schema), or uploading image files.
- Working with an LLM to create a fleshed out diagram prompt can be effective. Ask it to list out structural components as well as steps of a data or request flow through the system.
Example diagrams