Skip to main content
CrystalFlow provides several hooks for building custom workflow UIs.

useWorkflow

Manage workflow state and operations.
Example:

useNodeRegistry

Access the node registry.
Example:

useExecution

Execute workflows with event handlers.
Example:

useReactFlowState

Manage React Flow nodes and edges state.
Example:

useWorkflowExecution

Combined workflow execution with progress tracking.
Example:

useWorkflowFileOperations

Save and load workflows to/from files.
Example:

useNodePalette

Manage node palette drag-and-drop.
Example:

Complete Example

WorkflowBuilder

Main component reference

Components

Individual components

Workflow Builder Guide

Complete guide

Core API

Workflow class API