GraphEdgeDefinition

The `GraphEdgeDefinition` entity.

Definition

TypeScript
interface GraphEdgeDefinition {
  id: string;
  graphDefinitionId: string;
  fromSchemaId: string;
  toSchemaId: string;
  schemaId: string | null;
  description: string | null;
  createdAt: string;
  updatedAt: string;
}

Fields

FieldTypeNotes
idstringreadonly required
graphDefinitionIdstringrequired — Graph definition this edge type belongs to.
fromSchemaIdstringrequired — Schema of the source node type this edge can originate from.
toSchemaIdstringrequired — Schema of the target node type this edge can point to.
schemaIdstring | nullrequired — Schema describing edge properties, if any.
descriptionstring | nullrequired — Human-readable description of this edge type.
createdAtstringreadonly required — ISO-8601 timestamp of creation.
updatedAtstringreadonly required — ISO-8601 timestamp of the last update.