Skip to contents

Output of the composition pass. Holds a composed R function assembled from its members; ready for anvl::jit() at execution time.

Usage

FusedNode(
  id = integer(0),
  parents = integer(0),
  grid = GridSpec(),
  role = character(0),
  fn = function() NULL,
  members = integer(0),
  halo = integer(0)
)

Arguments

id

Integer node id (assigned by graph_add()).

parents

Integer ids of parent nodes (may be empty).

grid

Output GridSpec of this node.

role

Optional semantic role tag (e.g. "mask", set by mask()). Pure metadata: never read by the planner or executors; surfaced by draw() and plan_view().

fn

Composed stage function.

members

Ids of the absorbed nodes.

halo

Combined halo radius of the members.

Value

A FusedNode.