> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tamery.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Schema visualizer

> Tamery renders your database as an interactive ER diagram of tables, columns, and foreign-key relationships.

The schema visualizer renders your database as an interactive ER diagram — useful for onboarding to an unfamiliar schema or planning a migration.

## Opening

<Steps>
  <Step title="Open a connection">
    The connection must be active (green status) to load the schema.
  </Step>

  <Step title="Open the Visualizer tab">
    Tamery renders the diagram automatically. Large schemas take a few seconds.
  </Step>

  <Step title="Select a schema">Use the **Schema** dropdown to switch between schemas.</Step>
</Steps>

## Reading the diagram

Each table is a **node** listing its name and columns (name + type). **Edges** between nodes are foreign keys: the line runs from the referencing column to the referenced primary key, with an arrowhead for direction.

* `orders.customer_id → customers.id` means `orders` references `customers`.
* Edge labels show the columns involved.
* Tables with no foreign keys stand alone.

## Navigating

* **Minimap** — overview in the corner; click or drag to jump.
* **Pan / zoom** — drag the background to pan, scroll to zoom, double-click a node to fit it.
* **Schema selector** — each schema renders as its own diagram.
* **Auto-layout** — nodes are arranged to minimize edge crossings; positions are cached, so manual moves persist.

## Searching

Press <kbd>Ctrl</kbd>/<kbd>⌘</kbd>+<kbd>F</kbd> and type part of a table name. Matches are highlighted and scrolled into view; other nodes stay visible for context.
