Graphs
Graphs organize your API architecture. Your supergraph serves as the federated interface that combines all subgraphs, while individual subgraphs handle specific business domains. The canvas shows your supergraph at the center with subgraphs positioned to the right.
Create new subgraphs to organize by business domain or team ownership. Configure subgraph metadata and manage dependencies between subgraphs.
Each subgraph has a distinct color that appears on all its components, making
it easy to see which subgraph owns which schema elements.
Types
Types define your data structure. They include:
- Data models for core business entities like User or Product
- Input structures for creating or updating data
- Enum values for predefined options
Create new data structures, modify existing types to add fields or change relationships, and define validation rules and required fields.
Fields
Fields are the information and operations in your API. This includes:
- Data properties like “name” or “email”
- Operations like “createUser” or “searchProducts”
- Computed values calculated from other data
- Relationships connecting different data types
Add new properties or operations, configure data types and validation, and control subgraph access to specific fields.
Relationships
Relationships connect types and fields across your schema. These visual connections show how elements reference each other, displayed as lines on the canvas to help you understand your federated schema structure.