pub fn verify_graph(nodes: &RecordBatch, edges: &RecordBatch) -> GraphViolationsExpand description
Verify graph coherence of merged CodeNode + CodeEdge RecordBatches.
Checks:
- No duplicate
node_idvalues in the CodeNodes batch - No dangling edge sources (every
source_idexists in CodeNodes) - No dangling
target_idvalues —ext:refs are excluded (they are intentional unresolved external references)