xyflow

Ochiq manbalardan

xyflow (React Flow va Svelte Flow) — React yoki Svelte’da interaktiv tugunli interfeyslar, blok-sxemalar va graf muharrirlarini yaratish uchun MIT litsenziyali ochiq kutubxona.

KutubxonaKategoriya: Kutubxonalar va SDK · UI va muharrirlarOpen sourcemaʼlumot tekshirilgan: 15-okt, 2026

Sharh

Blok-sxemalar, diagrammalar, ish jarayoni muharrirlari va graf vositalari kabi tugunli interfeyslarni noldan yaratish sudrash, masshtablash, siljitish, bogʻlanishlar va chizish mexanizmlarini oʻzingiz amalga oshirishni talab qiladi. xyflow bu vazifani ikkita ochiq kutubxona bilan hal qiladi: React uchun React Flow (@xyflow/react) va Svelte uchun Svelte Flow (@xyflow/svelte), ikkalasi ham MIT litsenziyasi ostida tarqatiladi. Kutubxonalar oʻrnatilgandan soʻng darhol ishlatishga tayyor boʻladi va tugunlar, bogʻlanishlar, mini-xarita, boshqaruv elementlari hamda fon setkasi uchun komponentlarni oʻz ichiga oladi. Ularni maxsus tugunlar va bogʻlanishlar bilan moslashtirish mumkin. Oʻrnatish bitta npm buyrugʻi bilan amalga oshiriladi, asosiy sozlash esa bir necha qator kod talab qiladi. Bu kutubxonalar veb-ilovalarga tugunli vizual tahrirlashni qoʻshmoqchi boʻlgan dasturchilarga mos keladi. Loyihani faol hamjamiyat va uni yurituvchi jamoa qoʻllab-quvvatlagani uchun ular prototiplar va ishlab chiqarish vositalari uchun amaliy tanlov hisoblanadi.
  • design
  • flowchart
  • graph
  • javascript
  • node-based-ui
  • react
  • react-flow
  • svelte
  • svelte-flow
  • typescript
  • typescript-library
  • workflow

Oʻrnatish

Buyruqlar faqat koʻrsatiladi, marketpleys ularni bajarmaydi. Rasmiy hujjatlar bilan solishtiring.
  • Rasmiy saytOchiq manbalardankatalog metamaʼlumotlaridan
    xyflow.com/ ↗
  • Manbadan yigʻishOchiq manbalardankatalog metamaʼlumotlaridan

    Manbadan yigʻish: tekshirilgan yigʻish retsepti yoʻq — repozitoriy koʻrsatmalariga amal qiling.

    github.com/xyflow/xyflow ↗

Moslik

«Nomaʼlum» dalil topilmaganini bildiradi, mahsulot mos emasligini emas.
PlatformaHolatArxitekturaDalilIshonchlilik
Node.jsNomaʼlum———
PythonNomaʼlum———
JVMNomaʼlum———
.NETNomaʼlum———
WebAssemblyNomaʼlum———
Web browserMos—Kartochkada bildirilgan—

Relizlar

tekshirilgan: 29-okt, 2026
v12.12.0Oxirgi24-sen, 2026Rasmiy manba ↗

12.12.0 versiyasi fayllari

Relizga fayllar biriktirilmagan.

Relizlar tarixi

Sifat profili

algoritm quality-v1.0 · baholangan 15-okt, 2026
Sifat bahosi100
Xavf bahosi0
Ishonchlilik 1.00
Sifat bahosi va xavf bahosi — turli koʻrsatkichlar. Yuqori sifat xavfsizlikni kafolatlamaydi.

Baho tarkibi

Qoʻllab-quvvatlash · 2020
last activity 0 days ago
Hujjatlar · 1515
README 5264 chars, description present
Foydalanishga tayyorlik · 1515
install instructions: yes; releases: yes
Metamaʼlumotlar · 1010
4/4 of description, homepage, license, topics
Relizlar · 1010
10 release(s), latest 21 days ago
Kategoriya aniqligi · 1010
classifier confidence 1
Ommaboplik · 1010
38682 stars (log-dampened, 10k = max)
Litsenziya aniqligi · 55
SPDX MIT
Hamjamiyat · 55
issues enabled, 2552 forks

Litsenziya

MIT
Litsenziya maʼlumrepozitoriy xostingi maʼlumotlariga koʻra

Bu katalog siyosati holati, yuridik xulosa emas.

Manbalar

github.com/xyflow/xyflowAsosiy★ 38 682 yulduzfaollik: 15-okt, 2026Asosiy repozitoriy · Ishonchlilik 1.00

Sharhlar

Sharh yozish uchun kiring

Hali sharhlar yoʻq.

Muqobillar

README

xyflow/xyflow dan · litsenziya MIT · yuklangan 29-okt, 2026

[xyflow-header] [xyflow-header-dark]

[GitHub License MIT] [npm downloads] [npm downloads]

Powerful open source libraries for building node-based UIs with React or Svelte. Ready out-of-the-box and infinitely customizable.

React Flow · Svelte Flow · React Flow Pro · Discord


The xyflow mono repo

The xyflow repository is the home of four packages:

Commercial usage

Are you using React Flow or Svelte Flow for a personal project? Great! No sponsorship needed, you can support us by reporting any bugs you find, sending us screenshots of your projects, and starring us on Github 🌟

Are you using React Flow or Svelte Flow at your organization and making money from it? Awesome! We rely on your support to keep our libraries developed and maintained under an MIT License, just how we like it. For React Flow you can do that on the React Flow Pro website and for both of our libraries you can do it through Github Sponsors.

Getting started

The best way to get started is to check out the React Flow or Svelte Flow learn section. However if you want to get a sneak peek of how to install and use the libraries you can see it here:

Installation

npm install @xyflow/react

Basic usage

import { useCallback } from 'react';
import {
ReactFlow,
MiniMap,
Controls,
Background,
useNodesState,
useEdgesState,
addEdge,
} from '@xyflow/react';

import '@xyflow/react/dist/style.css';

const initialNodes = [
{ id: '1', position: { x: 0, y: 0 }, data: { label: '1' } },
{ id: '2', position: { x: 0, y: 100 }, data: { label: '2' } },
];

const initialEdges = [{ id: 'e1-2', source: '1', target: '2' }];

function Flow() {
const [nodes, setNodes, onNodesChange] = useNodesState(initialNodes);
const [edges, setEdges, onEdgesChange] = useEdgesState(initialEdges);

const onConnect = useCallback((params) => setEdges((eds) => addEdge(params, eds)), [setEdges]);

return (
  <ReactFlow
    nodes={nodes}
    edges={edges}
    onNodesChange={onNodesChange}
    onEdgesChange={onEdgesChange}
    onConnect={onConnect}
  >
    <MiniMap />
    <Controls />
    <Background />
  </ReactFlow>
);
}

export default Flow;

Installation

npm install @xyflow/svelte

Basic usage

<script lang="ts">
import { writable } from 'svelte/store';
import {
  SvelteFlow,
  Controls,
  Background,
  BackgroundVariant,
  MiniMap,
} from '@xyflow/svelte';

import '@xyflow/svelte/dist/style.css'

const nodes = writable([
  {
    id: '1',
    type: 'input',
    data: { label: 'Input Node' },
    position: { x: 0, y: 0 }
  },
  {
    id: '2',
    type: 'custom',
    data: { label: 'Node' },
    position: { x: 0, y: 150 }
  }
]);

const edges = writable([
  {
    id: '1-2',
    type: 'default',
    source: '1',
    target: '2',
    label: 'Edge Text'
  }
]);
</script>

<SvelteFlow
{nodes}
{edges}
fitView
on:nodeclick={(event) => console.log('on node click', event)}
>
<Controls />
<Background variant={BackgroundVariant.Dots} />
<MiniMap />
</SvelteFlow>

Releases

For releasing packages we are using changesets in combination with the changeset Github action. The rough idea is:

  1. create PRs for new features, updates and fixes (with a changeset if relevant for changelog)
  2. merge into main
  3. changeset creates a PR that bumps all packages based on the changesets
  4. merge changeset PR if you want to release to Github and npm

Built by xyflow

React Flow and Svelte Flow are maintained by the xyflow team. If you need help or want to talk to us about a collaboration, reach out through our contact form or by joining our Discord Server.

License

React Flow and Svelte Flow are MIT licensed.

Repozitoriyni ochish ↗