mingrammer/diagrams ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python tool that lets people draw cloud architecture diagrams by writing code instead of using a design app.

I want to be able to define things like servers, databases, load balancers, Kubernetes, and common cloud services from providers like AWS, Azure, GCP, and a few others, then render the result as a clean diagram using Graphviz. It should be easy to use for both brand new system ideas and existing infrastructure, and it should save the output as an image file.

Please include a simple playground style experience too, where someone can paste code and instantly see the diagram update in the browser, with easy export options for PNG or SVG. Make sure the examples are clear and useful, and keep the setup straightforward for Python 3.9 or newer. If you need to check current docs or best practices online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab