Create Diagrams
Create your own cloud architecture diagrams using Python code! This interactive editor lets you experiment with the Diagrams library and see results instantly.
How to Use:
- Choose a template
- Edit the code
- Click "Run Diagram" to generate the visualization
- Iterate and experiment - try different providers and layouts!
Available Providers:
You can use components from these cloud providers:
diagrams.aws.*- Amazon Web Servicesdiagrams.azure.*- Microsoft Azurediagrams.gcp.*- Google Cloud Platformdiagrams.k8s.*- Kubernetesdiagrams.onprem.*- On-Premise / Generic
Tips:
- Use
>>to show data flow direction - Use
-for bidirectional connections - Use lists
[service1, service2]for parallel components - Always set
show=Falsein the Diagram constructor
Example Pattern:
from diagrams import Diagram
from diagrams.aws.compute import EC2
from diagrams.aws.database import RDS
with Diagram("My Architecture", show=False):
web = EC2("web server")
db = RDS("database")
web >> db # web connects to database