Skip to content

formatLineageAsString

formatLineageAsString(lineage, ast, options): string

Defined in: execution/lineage-formatter.ts:335

Format lineage as a multi-line string for console output.

RuntimeLineage

The runtime lineage from plan execution

PlanAst

The plan’s AST for node descriptions

FormatLineageOptions = {}

Formatting options

string

Multi-line string representation

const result = await run(plan, ctx)
console.log(formatLineageAsString(result.lineage, plan.ast))