Introduction

This section describes how to build and execute a FlowGraph in either of the following ways:

  • Use annotations to construct and execute a graph. That is, you can add the decorator @pyflow to the UDF definition. The fnode graph construction function is automatically generated. This enables graph build directly from UDF definitions for easier usage.
  • Use Graph Construction APIs to construct and execute a graph. That is, you can directly construct a graph using APIs related to FlowNode.