📄️ Loops, Branches, and Conditional Logic
In Xircuits, we have provided the controlflow component library which implements loops, branches, and conditional logic operations. Here are some common components to perform them: the BranchComponent, LoopComponent, ForEach, and ComparisonComponent.
📄️ Using Variables
If you would like to manage variables within your workflows, variable components are what you need. The controlflow component library provides three components that function like Python variables:
📄️ Events
The Xircuits Events component library introduces a dynamic way to handle event-driven programming within your Xircuits workflows. This system allows components to listen for specific events and react accordingly.
📄️ Nesting Workflows
Xircuits allows users to create modular, reusable workflows that can be integrated into larger workflows using workflow components. Workflow components function like subroutines or functions in traditional programming, encapsulating specific tasks or logic within a reusable piece that can be embedded in a larger workflow.
📄️ Parallelism in Xircuits
Xircuits supports multithreading for parallel execution of workflows, particularly useful for I/O-heavy tasks. This guide will show you how to implement multithreading in your Xircuits workflows using the RunParallelThread and AwaitFutures components.