Build a FormulaAdapter bound to a specific graph, workbook, and sheet.
The causl graph that will own the derived nodes.
Workbook/sheet identifiers and the cell-ref resolver.
A FormulaAdapter ready to register parsed formulas.
const adapter = createFormulaAdapter(graph, { workbook: 'wb1', sheet: 'Sheet1', resolve: (ref) => cellsByA1.get(cellRefToA1(ref)),})adapter.registerFormula({ col: 2, row: 0 }, parseFormula('=A1+B1')) Copy
const adapter = createFormulaAdapter(graph, { workbook: 'wb1', sheet: 'Sheet1', resolve: (ref) => cellsByA1.get(cellRefToA1(ref)),})adapter.registerFormula({ col: 2, row: 0 }, parseFormula('=A1+B1'))
Build a FormulaAdapter bound to a specific graph, workbook, and sheet.