pub fn codegraph_remove_edge(
edges_batch: &RecordBatch,
source_id: &str,
target_id: &str,
predicate: &str,
) -> Result<RecordBatch>Expand description
Remove an edge (by setting weight to -1 as a tombstone marker).
Returns a new batch with the edge marked. Since Arrow batches are immutable, we rebuild with the edge’s weight set to -1.0 (tombstone convention).