Flow-Based Programming

What is Flow-Based Programming?

Flow-Based Programming consists of using ‘black boxes’, which we shall call Nodes, to modify or perform some process on the data. The data stream begins at one Node, and flows in one direction to other Nodes along paths called Links.

Nodes

../_images/flowBasedProgramming_nodes.png

Nodes connected by Links on a Workflow

In Clario, nodes are arranged to form a Workflow. Sufficient links must be attached to allow the data stream to flow between nodes. Nodes, represented as square icons, are the building blocks of workflows. Nodes can perform various processes. For example, nodes can modify the data stream (Transform), perform an analysis (Univariate, Bivariate), suppress part of a data stream (Filter), bring a data stream into the workflow (Read File), export a data stream to a file (Write File), etc.

Data Streams

Data streams in Clario are rows of data flowing out of a node’s output connector, along the links into a node’s input connector. Read File nodes have only an output connector, and several nodes have only an input connector (Write File, Bivariate, etc.). This last type of node is referred to as a Terminal Node.