Flower Core is the foundational business logic library that powers all Flower front-end workflow visualization tools. It provides the essential functionalities required to create, modify, and visualize workflows in a graphical format. This core library serves as the backbone for various versions of Flower, such as Flower-React, and will support future versions for other frameworks and platforms.
- Workflow Management: Comprehensive API for creating, updating, and managing workflows programmatically.
- Node and Connection Handling: Functions to manage nodes and connections, including adding, removing, and editing.
- State Management: Built-in state management to keep track of workflow changes and updates.
- Event System: Customizable event handling to respond to user interactions and changes within the workflow.
- Serialization: Convert workflows to and from different formats (e.g., JSON) for easy storage and retrieval.
- Validation: Ensure workflows follow predefined rules and constraints to maintain integrity.
- Form Validation: Built-in functionalities to validate form inputs within nodes, ensuring data integrity and correctness.
- History Management: Internal management of flow history, tracking node traversal and changes for debugging and visualization purposes.
Flower Core can be installed via npm or yarn for use in any JavaScript project.
- Ensure you have Node.js and npm installed on your system.
- Run the following command to install the library:
#NPM
npm install @flowerforce/flower-core
- Ensure you have yarn installed on your system.
- Run the following command to install the library:
#YARN
yarn add @flowerforce/flower-core
Flower Core is designed to be framework-agnostic, making it versatile for integration with various front-end frameworks and libraries. For example, Flower-React leverages Flower Core to provide a React-based interface for workflow visualization.
The future of Flower Core includes:
- Enhanced Features: Adding more advanced workflow management features, including conditional logic and looping structures.
- Framework Integrations: Expanding support to include Angular, Vue.js, Flutter, and other frameworks.
- Performance Optimizations: Continuous improvements to ensure efficient and scalable performance for complex workflows.
For more info flowerjs.it/.
Contributing to Flower is easy and encouraged! If you find a bug or have a suggestion for improvement, feel free to open an issue or a pull request in the GitHub repository.
Flower Core is an open-source library.
Thank you for choosing Flower for your projects! We hope our library helps you create amazing user experiences.