Skip to content

nodes

nodes #

Procedure node catalog — the building blocks of CaptureGraph workflows.

Nodes are organized into three categories by execution behavior:

  • collection/ — Collection nodes require user interaction and pause execution until the user provides input (Capture*, UserInput*, Show*).
  • process/ — Process nodes execute immediately without user interaction: constants, operators, control flow, conversions, and structural composition.
  • destination/ — Destination nodes manage the filesystem and data persistence: directory/file references and save/cache operations.

Every node extends Procedure[T] and declares its return type, enabling construction-time validation of data flows between connected nodes. Each node registers itself in procedure.NODE_REGISTRY and is imported into the capturegraph root (import capturegraph as cg).