pub fn diff(
conn: &Connection,
t1: &str,
t2: &str,
scope_path: Option<&str>,
) -> Result<GraphDiff>Expand description
Compare the graph state at two different timestamps.
added— edges valid att2whose(from_id, to_id, relation)triple was not present att1.removed— edges valid att1whose triple was not present att2.changed— triples present at botht1andt2but with a differentid(i.e. the edge was superseded), implying the properties or confidence changed.
When scope_path is Some(prefix), the diff is limited to edges within
that scope hierarchy. When None, all scopes are compared (backward
compatible).