Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    OpenAI walks a tricky tightrope with GPT-5.1’s eight new personalities

    With another record broken, the world’s busiest spaceport keeps getting busier

    Microsoft releases update-fixing update for update-eligible Windows 10 PCs

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Amazon to lay off 14,000 corporate employees

      October 29, 2025

      Elon Musk launches Grokipedia as an alternative to ‘woke’ Wikipedia

      October 29, 2025

      Fears of an AI bubble are growing, but some on Wall Street aren’t worried just yet

      October 18, 2025

      The sleeper issue that could play a huge role in Virginia and New Jersey — and the midterms

      October 16, 2025

      California bill regulating top AI companies signed into law

      September 30, 2025
    • Business

      Government faces questions about why US AWS outage disrupted UK tax office and banking firms

      October 23, 2025

      Amazon’s AWS outage knocked services like Alexa, Snapchat, Fortnite, Venmo and more offline

      October 21, 2025

      SAP ECC customers bet on composable ERP to avoid upgrading

      October 18, 2025

      Revenue generated by neoclouds expected to exceed $23bn in 2025, predicts Synergy

      October 15, 2025

      You can now try Fortnite directly in Discord

      October 8, 2025
    • Crypto

      JPMorgan Achieves First True Bridge Between Banks and DeFi

      November 12, 2025

      3 Signs Pointing to Mounting Selling Pressure on Pi Network in November

      November 12, 2025

      Dogecoin Faces Its Toughest Q4 In Years — Can a Late Bounce Save 2025?

      November 12, 2025

      Did One Whale Steal aPriori’s Airdrop? 14,000 Wallets Raise Big Questions

      November 12, 2025

      Why Analysts See A $5 Target for XRP Price in Q4 2025

      November 12, 2025
    • Technology

      OpenAI walks a tricky tightrope with GPT-5.1’s eight new personalities

      November 13, 2025

      With another record broken, the world’s busiest spaceport keeps getting busier

      November 13, 2025

      Microsoft releases update-fixing update for update-eligible Windows 10 PCs

      November 13, 2025

      An explosion 92 million miles away just grounded Jeff Bezos’ New Glenn rocket

      November 13, 2025

      Well-received big-budget Alien Earth TV series gets a second season

      November 13, 2025
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»React Flow, open source libraries for node-based UIs with React or Svelte
    Technology

    React Flow, open source libraries for node-based UIs with React or Svelte

    TechAiVerseBy TechAiVerseOctober 24, 2025No Comments3 Mins Read0 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    React Flow, open source libraries for node-based UIs with React or Svelte
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    React Flow, open source libraries for node-based UIs with React or Svelte



    The xyflow mono repo

    The xyflow repository is the home of four packages:

    • React Flow 12 @xyflow/react packages/react
    • React Flow 11 reactflow v11 branch
    • Svelte Flow @xyflow/svelte packages/svelte
    • Shared helper library @xyflow/system packages/system

    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:

    React Flow basic usage

    Installation

    npm install @xyflow/react

    Basic usage

    Installation

    npm install @xyflow/svelte

    Basic usage

    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’ } ]);

    console.log(‘on node click’, event)}
    >



    “>

    <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. changset 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.

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleIntroduction to the concept of likelihood and its applications (2018)
    Next Article Nvidia’s Blackwell Wafer: The First Step Toward Onshored AI Chipmaking
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    OpenAI walks a tricky tightrope with GPT-5.1’s eight new personalities

    November 13, 2025

    With another record broken, the world’s busiest spaceport keeps getting busier

    November 13, 2025

    Microsoft releases update-fixing update for update-eligible Windows 10 PCs

    November 13, 2025
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025379 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 202597 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 202571 Views

    Is Libby Compatible With Kobo E-Readers?

    March 31, 202555 Views
    Don't Miss
    Technology November 13, 2025

    OpenAI walks a tricky tightrope with GPT-5.1’s eight new personalities

    OpenAI walks a tricky tightrope with GPT-5.1’s eight new personalities On Wednesday, OpenAI released GPT-5.1…

    With another record broken, the world’s busiest spaceport keeps getting busier

    Microsoft releases update-fixing update for update-eligible Windows 10 PCs

    An explosion 92 million miles away just grounded Jeff Bezos’ New Glenn rocket

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    OpenAI walks a tricky tightrope with GPT-5.1’s eight new personalities

    November 13, 20253 Views

    With another record broken, the world’s busiest spaceport keeps getting busier

    November 13, 20253 Views

    Microsoft releases update-fixing update for update-eligible Windows 10 PCs

    November 13, 20253 Views
    Most Popular

    Xiaomi 15 Ultra Officially Launched in China, Malaysia launch to follow after global event

    March 12, 20250 Views

    Apple thinks people won’t use MagSafe on iPhone 16e

    March 12, 20250 Views

    French Apex Legends voice cast refuses contracts over “unacceptable” AI clause

    March 12, 20250 Views
    © 2025 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.