Overview
The xyflow repository is a collection of powerful open source libraries for building node-based UIs with React or Svelte. These libraries are ready out-of-the-box and infinitely customizable. The repository consists of four packages: React Flow v11, React Flow v12 (not published yet), Svelte Flow, and a shared helper library called @xyflow/system. The team behind xyflow maintains and develops these libraries and relies on user support to keep them under an MIT License.
Features
- Ready out-of-the-box
- Infinitely customizable
- Supports building node-based UIs with React or Svelte
- Includes React Flow v11 and React Flow v12 packages
- Offers Svelte Flow package
- Provides a shared helper library called @xyflow/system
Installation
To install the xyflow libraries, follow these steps:
- Use the package manager npm to download the libraries:
npm install reactflow
npm install @xyflow/svelte
npm install @xyflow/system
- Once installed, you can import and use the libraries as needed in your projects. For example, to use React Flow:
import ReactFlow from 'reactflow';
Similarly, for Svelte Flow:
import SvelteFlow from '@xyflow/svelte';
- Make sure to also install React Flow Pro separately if you are using React Flow for commercial projects:
npm install @xyflow/react
Summary
The xyflow repository offers powerful open source libraries for building node-based UIs with React or Svelte. These libraries are highly customizable and come ready out-of-the-box. The repository includes React Flow v11 and React Flow v12 packages, as well as the Svelte Flow package. Users can also utilize the shared helper library called @xyflow/system. The libraries are maintained by the xyflow team and are licensed under the MIT License, with commercial usage options available for additional support. Installation is straightforward using npm package manager and the libraries can be easily imported and used in projects.