Schematex/Playground

/ PLAYGROUND

Live editor

Edit the DSL on the left. Diagram re-renders on the right. Pick a preset below to start from a real example, or paste output from ChatGPT / Claude — the DSL is designed for LLMs to emit on the first try.

erd·§
↘ preview
100%
E-commerce Schema Entity-Relationship Diagram with 6 entities and 5 relationships. E-commerce Schema places Customer customer_id int PK email varchar UK name varchar created_at timestamp Category category_id int PK name varchar Address address_id int PK customer_id int FK line1 varchar city varchar zip varchar Order order_id int PK customer_id int FK placed_at timestamp status varchar Product product_id int PK category_id int FK name varchar price decimal OrderLine order_id int PK FK line_no int PK product_id int FK qty int price decimal
UTF-8 · LF · 51 lines · 1274 chars✓ parsed·9.2 ms·12.4 KB SVG
Playground — paste LLM output, see SVG live · Schematex