• Register or replace the dependency edges for a single target cell.

    Parameters

    • g: FormulaGraph

      Graph to mutate in place.

    • target: CellRef

      Cell whose formula is being recorded.

    • formula: Ast

      Parsed formula AST whose static refs become edges.

    Returns void

    Existing edges for target are overwritten — call this once per registration so the graph reflects the current formula text.