How to use an erd template.
- 01List the tables
Name each table and its primary key — the AI creates the entity boxes.
- 02Add columns and types
Describe the important columns with their data types (int, varchar, timestamp, boolean) and any unique or not-null constraints.
- 03Define foreign keys
Say which column in one table references which table — the AI draws the FK lines and adds cardinality notation.
- 04Review and export
Check that the cardinality (one-to-many, many-to-many) is correct, then export as PNG/SVG or share for schema reviews.
Questions about erd templates
What is an ER diagram?
A diagram that represents a database schema: tables as entities, columns as attributes, and relationships (with PK/FK constraints) as connecting lines. It is the standard tool for designing and communicating database structures.
Which notation does ChatDiagram use for ER diagrams?
ChatDiagram uses crow's foot notation (the standard for database design), which shows cardinality (one/many) and optionality (mandatory/optional) at each end of a relationship line.
Can I generate a diagram from an existing SQL schema?
Yes — paste your CREATE TABLE statements and the AI extracts the tables, columns, and foreign keys into an ER diagram automatically.