Skip to main content

Components

Xircuits simplifies complex workflows by allowing users to drag and connect components on a canvas. These components range from simple operations like adding integers to complex tasks such as setting up machine learning models.

1. Component Library Nodes

Component library nodes are the workhorses of your workflow. They perform actions or tasks and manage the execution flow. Key features include:

  • Flow ports at the top (inPort and outPort) to control execution sequence
  • Blue, flowing links connecting these ports to indicate workflow order
  • Icons representing their function
  • Ability to accept parameters to modify their behavior
Preview

Component Nodes

Library components form the basis of component library nodes in your workflow. They are Python-based and located in the xai_component directory.

Built-in Components

Xircuits comes with several built-in components that implement core logic essential for workflow construction:

These built-in components are preinstalled when you install Xircuits, and provide the fundamental building blocks for creating complex workflows.

Remote Libraries

Xircuits supports a wide range of remote libraries that can be installed to extend functionality. These libraries implement various frameworks and packages such as TensorFlow, Spark, or scikit-learn, providing individual components for specific tasks within these ecosystems.

To explore the available remote libraries:

  1. Refer to the Component Library page for detailed information.
  2. Check the Xircuits Component Library List on GitHub for a comprehensive list of available libraries.

2. Parameter Nodes

Parameter nodes, found in the GENERAL tab, supply values to other components, influencing their behavior. Characteristics include:

  • Connected to other components via solid gray links
  • Editable values (double-click to modify)
  • Two subtypes: Literal components and Argument components
  • No icons
Preview

Parameter Nodes

Parameter nodes are built into every Xircuits workspace and are essential for customizing the behavior of other components.

In addition to these main types, Xircuits also provides Comment Components for displaying messages within your workflow.