Pure invariant check for a MJ: Graph Edges record (Phase G1.3):
No self-loop (SourceEntityID === TargetEntityID and SourceRecordID === TargetRecordID).
SourceRecordID and TargetRecordID are non-empty and at most 400 characters.
EdgeTypeID resolves to an edge type with AllowStored === true (refuses provider-only types)
that belongs to the edge's GraphID or is global (GraphID === null).
SourceEntityID and TargetEntityID satisfy GraphEngine.ValidateEdgeEndpoint constraints.
Who may create an edge that starts Approved is not an invariant of the row: it is the approval
gate's decision (EvaluateGraphEdgeApproval), and it applies to every Origin.
Pure invariant check for a
MJ: Graph Edgesrecord (Phase G1.3):SourceEntityID === TargetEntityIDandSourceRecordID === TargetRecordID).SourceRecordIDandTargetRecordIDare non-empty and at most 400 characters.EdgeTypeIDresolves to an edge type withAllowStored === true(refuses provider-only types) that belongs to the edge'sGraphIDor is global (GraphID === null).SourceEntityIDandTargetEntityIDsatisfyGraphEngine.ValidateEdgeEndpointconstraints.Who may create an edge that starts
Approvedis not an invariant of the row: it is the approval gate's decision (EvaluateGraphEdgeApproval), and it applies to everyOrigin.