AddEdgeDefinitionBody

The `AddEdgeDefinitionBody` entity.

Definition

TypeScript
interface AddEdgeDefinitionBody {
  graphDefinitionId: string;
  fromSchemaId: string;
  toSchemaId: string;
  schemaId?: string | undefined;
  description?: string | undefined;
}

Fields

FieldTypeNotes
graphDefinitionIdstringrequired — Graph definition this edge type belongs to.
fromSchemaIdstringrequired — Schema ID of the source node
toSchemaIdstringrequired — Schema ID of the target node
schemaIdstring | undefinedoptional — Schema ID for the edge properties
descriptionstring | undefinedoptional — Human-readable description of this edge type.