Skip to main content

build_sample_diff

Function build_sample_diff 

Source
pub fn build_sample_diff(
    conn: &GraphConnection,
    collection_name: &str,
    graph_name: &str,
    query_name: &str,
    base_name: &str,
    history_ref: Option<&str>,
) -> Result<SampleDiff, BlockGroupError>
Expand description

Builds one graph showing the difference between matching query and base block groups.

The base is the comparison baseline. Query-only graph elements are added, while base-only elements are removed. The shared graph-diff builder aligns sequence boundaries before constructing either diff input, then unifies their explicitly annotated nodes and edges.