Skip to main content

Interface: NodeContext

Defined in: packages/core/src/graph/types.ts:38

Identifies a step's execution within a graph.

sourceRowId is the provenance stamp carried with each row through the DAG — it's the identifier the default combine aligns fan-in against (see the Provenance Invariant in the graph design doc). For a single Processable invocation outside a graph, sourceRowId is still present but generally opaque — callers partition on it when they need per-row isolation across concurrent branches.

Properties

nodeId

nodeId: string

Defined in: packages/core/src/graph/types.ts:41

Stable id of the node within the graph (Processable.getId() for bots, a generated id for transforms).


nodeLabel

nodeLabel: string

Defined in: packages/core/src/graph/types.ts:44

Human-facing name — for bots this is Processable.getBotNames()[0]; for merge-fed nodes this is the key used in the merge({...}) call.


sourceRowId

sourceRowId: string

Defined in: packages/core/src/graph/types.ts:46

Provenance tag — which source row this execution traces back to.