Skip to main content

codegraph_add_edge

Function codegraph_add_edge 

Source
pub fn codegraph_add_edge(
    edges_batch: &RecordBatch,
    source_id: &str,
    target_id: &str,
    predicate: &str,
    weight: Option<f32>,
) -> Result<RecordBatch>
Expand description

Add a new edge to the edges batch. Returns a new batch with the edge appended.