# Entity Relationship Diagram

> A live diagram of every active instance, database and table of an API Maker account with the relations drawn from the schemas - primary keys, auto increments and required fields marked.

Source: https://docs.apimaker.dev/v1/docs/dashboard/diagram.html

`Dashboard → Entity Relationship Diagram` draws the account : every active instance, its databases, their tables, and the relations the [schemas](https://docs.apimaker.dev/v1/docs/schema/schema.html#6-relations-and-virtual-fields) declare with `collection` and `column`.

| | |
|---|---|
| Boxes | One per table, with its fields and their types, grouped by database and instance. **Expand All** and **Collapse All**. |
| Lines | A relation from a field to the column of another table. Virtual fields draw the reverse. |
| Marks | `PK` primary key · `AM+` auto increment by API Maker · `DB+` auto increment by the database · `R` required |
| Zoom | Double click zooms in, `Shift` + double click zooms out, the mouse wheel does both. |

- A table without a schema shows without relations : generate its schema to see them.

## Related

- [Table schema](https://docs.apimaker.dev/v1/docs/schema/schema.html) · [Deep populate](https://docs.apimaker.dev/v1/docs/apis-all/query-params/deep.html)
