Switchboard Docs
Data engineering

Trace data with the graph

Inspect dependencies between sources, models, documents, and automations

The Graph tab shows dependencies between sources and models. Use it to inspect a model's inputs and the items that depend on its output before changing it.

Before you start

You need access to the models and sources you want to inspect. Editing a model requires Builder, Admin, or a custom role with model editing access.

Choose a graph view

Open Models and select Graph. Switch between Diagram and Spatial at the top of the graph.

  • Diagram shows sources, models, documents, and automations, with details beside the graph.
  • Spatial shows sources and models in a three-dimensional view.

An upstream item supplies data to the selected model. A downstream item uses its output.

Inspect dependencies

If the model tree is hidden, select Show model tree to open it.

  1. Use Search models to find a model, then select it.
  2. If the full graph remains visible, select Show lineage to focus on its dependencies.
  3. Choose how many levels of connections to show.
  4. Follow the connecting lines to inspect the model's inputs and downstream uses.
  5. Select Show full graph to leave the focused view.

In Diagram, the depth options are Direct, 2 levels, and All. In Spatial, Lineage depth offers Direct connections, 2 hops, and All connections. Each additional level includes the next set of connected items.

Practice orders connected to Practice daily revenue and the Practice revenue document. Model details appear beside the graph.

The sample model supplies a downstream model and a document.

Explain or open a model

In Diagram, read the selected model's details beside the graph. Select Open in editor to inspect its definition, or Ask Operator to ask about it.

In Spatial, select a model and choose Explain model. This opens Operator with a drafted question about the selected model. Review or edit the question, then send it. Opening the draft does not send it.

Inspect a source or document

Use Diagram to inspect source details, documents, and automations. Select a source to see its type, status, and resource information. Use Open source to check its connection and syncs. Select a document or automation to inspect its connection to the models it uses. Use Open document or Open automation to inspect the saved item.

Check sync and build status

The graph identifies dependencies. Source syncs and model builds have separate run statuses. When investigating stale data, inspect the source's sync status and the model's build run. If a definition is unavailable, check your access with an Admin.

See the context layer for shared definitions and model guidance.

On this page