Concepts

πŸ”€ Flow

Flow is the logic built using Nodes.

What is a flow?

Anatomy of a Flow
  • Flow is logic built using Nodes
  • Each Flow contains Inputs and Outputs
    • Flow starts running from Inputs
      • API Inputs can be added in the left sidebar and edited in the right sidebar
      • Their default values can be added to test the flow before publishing
      • They are optional in case the API doesn’t need to be passed any input.
    • Flow ends running at Outputs
      • API Outputs can be added in the left sidebar and edited in the right sidebar.
      • They are optional in case the API doesn't return any output.
  • Flow can contain any number of nodes
  • Edges are used to connect ports of nodes.
    • Edges that connect control ports indicate the order of logic flow
    • Edges that connect value ports indicate how data is passed between nodes.
  • Flow can be played while building and the data for each node can be viewed in the right sidebar for each node.
  • Flow can be published as an API. This allows you to use a logic you build using Craftar from any other app.