Skip to main content

grapher.EdgeProvenance

Metadata for a single directed edge, possibly from multiple mechanisms in one formula.

Usage

Source

grapher.EdgeProvenance()

direct_sites_normalized holds [start, end) spans of the precedent reference inside the dependent’s derived normalized_formula. Compression rewrites formula_ast structurally and refreshes those spans against the derived A1 text. Spans against the raw Node.formula are not stored.

Parameter Attributes

causes: DependencyCause
direct_sites_normalized: tuple[tuple[int, int], …] = ()