@bedelightful/delightful-flow
v0.0.12
Published
An expression component that allows you to set user-defined content, block content, and function blocks
Readme
Delightful Flow Foundation Package
📖 Project Overview
Delightful Flow Foundation Package is an out-of-the-box flow library extracted from Delightful Flow. It is built on ReactFlow, providing powerful flowchart design and management capabilities. The project bundles the core flow package, JSON Schema editor, expression components, and shared UI components to accelerate visual flow application development.
✨ Core Features
- 🔄 Flowchart design and management based on ReactFlow
- 🎯 High-performance node and edge handling (batching and debounce optimizations)
- 🧩 Extensible node type system
- 🔍 JSON Schema form editing capabilities
- 🌐 Multilingual support
- 🎨 Polished and customizable UI components
📦 Installation
# Install dependency
npm install @delightful/delightful-flow📚 Usage Guide
There is currently no single quick-start guide. To use the components, refer to these resources:
- Check the
index.mdfile in each component directory for detailed instructions - Review the sample projects in the
examplesdirectory for real-world scenarios - Each component includes example code for development reference
For example, to learn how to use DelightfulFlow:
- Open
src/DelightfulFlow/index.md - Review the sample projects in
examples/DelightfulFlow
📚 API Docs
Main Components
DelightfulFlow: Flow designer core componentDelightfulJsonSchemaEditor: Schema-driven form generatorDelightfulExpressionWidget: Expression builder and editorDelightfulConditionEdit: Condition editing component
Core Hooks
useBaseFlow: Core flow logic hook that manages nodes and edgesuseNodeBatchProcessing: Batch processing hook for high-volume node rendering performance
Detailed Docs and Examples
- Each component ships with detailed usage docs in its
index.md DelightfulFlowincludes rich real-world examples in theexamplesdirectory- Samples demonstrate the flow designer across scenarios like node customization and form configuration
🛠️ Development
# Install dependencies
npm install
# Start the documentation demo for development
npm start
# Build the library
npm run build🤝 Contribution Guide
Contributions and issues are welcome! Please fork the repo first, then open a Pull Request.
📄 License
MIT
Delightful Flow Foundation Package
📖 Project Introduction
Delightful Flow Foundation Package is an out-of-the-box flow foundation library extracted from Delightful Flow, encapsulated based on ReactFlow, providing powerful flow chart design and management capabilities. This project integrates flow foundation components, JSON Schema editor, expression components, and internal common UI components to help quickly build visual flow applications.
✨ Core Features
- 🔄 Flow chart design and management based on ReactFlow
- 🎯 High-performance node and edge handling (batch processing and debounce optimization)
- 🧩 Extensible node type system
- 🔍 JSON Schema form editing capabilities
- 🌐 Multilingual support
- 🎨 Beautiful and customizable UI components
📦 Installation
# Install dependencies
npm install @delightful/delightful-flow📚 Usage Guide
Currently, there is no unified quick start guide. To use the components, please refer to the following resources:
- Check the
index.mdfile in each component directory for detailed instructions on that component - Refer to the sample projects in the
examplesdirectory to understand actual application scenarios - Each component has corresponding sample code that can serve as a development reference
For example, to learn how to use the DelightfulFlow component, you can:
- Check the
src/DelightfulFlow/index.mdfile - Refer to the sample projects in the
examples/DelightfulFlowdirectory
📚 API Documentation
Main Components
DelightfulFlow: Flow designer main componentDelightfulJsonSchemaEditor: Form generator based on SchemaDelightfulExpressionWidget: Expression building and editing componentDelightfulConditionEdit: Condition editing component
Core Hooks
useBaseFlow: Core flow logic hook, managing node and connection statesuseNodeBatchProcessing: Node batch processing hook, improving rendering performance for a large number of nodes
Detailed Documentation and Examples
- Each component comes with detailed usage documentation. Please refer to the
index.mdfile in the component directory for specific usage - The
DelightfulFlowcomponent provides rich actual development cases. Check the sample projects in theexamplesdirectory - The sample projects demonstrate the practical application of the flow designer in different scenarios, including node customization, form configuration, etc.
🛠️ Development
# Install dependencies
npm install
# Start the documentation demo for development
npm start
# Build library code
npm run build🤝 Contribution Guide
Contributions of code or issues are welcome! Please fork this repository first, then submit a Pull Request.
📄 License
MIT
