Skip to main content

GraphNode

A node in the compiled execution graph (DAG).

Produced by the compiler from FeatureNode. Unlike FeatureNode (which uses symbolic names), GraphNode uses resolved node_ids for all inputs.

output_type is set by the TypeChecker — it is the inferred type of this node's output, validated against the downstream node's input requirements.

The node_id is a stable, deterministic identifier derived from the node's position in the DAG (e.g. SHA-256 of the canonical serialisation of op + inputs + params). Stable node_ids ensure ir_hash stability across machines.

node_idNode Id (string)required
opOp (string)required
inputs objectrequired
property name* object
anyOf
string
paramsobject
output_typeOutput Type (string)required
GraphNode
{
"node_id": "string",
"op": "string",
"inputs": {},
"params": {},
"output_type": "string"
}