WorkflowEdge

The `WorkflowEdge` entity.

Definition

TypeScript
interface WorkflowEdge {
  id: string;
  workflowId: string;
  sourceNodeId: string | null;
  targetNodeId: string | null;
  handle: string | null;
  priority: number;
  label: string | null;
  createdAt: string;
}

Fields

FieldTypeNotes
idstringreadonly required
workflowIdstringrequired — Workflow this edge belongs to.
sourceNodeIdstring | nullrequired — Source node of the edge; null when this is an entry edge.
targetNodeIdstring | nullrequired — Target node of the edge; null when this is an exit edge.
handlestring | nullrequired — Named output handle on the source node, if any.
prioritynumberrequired — Edge ordering priority when a node has multiple outgoing edges.
labelstring | nullrequired — Optional human-readable edge label.
createdAtstringreadonly required — ISO-8601 timestamp of creation.