VisualFlow
Interactive Flow Platform

Build visual workflows faster with React Flow

VisualFlow empowers developers and teams to transform complex ideas, workflows, and systems into beautiful, interactive visual experiences — flowcharts, workflow builders, AI agent graphs and diagram tools built on React Flow.

React FlowTypeScriptOpen-source foundation

Foundations

What is React Flow?

React Flow is the open-source React library for node-based interfaces, maintained by XYFlow. It gives you an infinite, zoomable canvas where nodes are plain React components and edges are SVG connections — you own the data, the library owns rendering and interaction.

  • · Nodes, edges, handles and a transformable viewport as the four primitives
  • · MIT-licensed, TypeScript-first, and used in production by thousands of teams
  • · The foundation under workflow builders, ERD tools, AI agent canvases and more
Start with the basics
tsx
import { ReactFlow, Background, Controls } from "@xyflow/react";
import "@xyflow/react/dist/style.css";

const nodes = [
  { id: "1", position: { x: 0, y: 0 }, data: { label: "Trigger" } },
  { id: "2", position: { x: 200, y: 100 }, data: { label: "Action" } },
];
const edges = [{ id: "e1-2", source: "1", target: "2", animated: true }];

export default function Flow() {
  return (
    <div style={{ height: 480 }}>
      <ReactFlow nodes={nodes} edges={edges} fitView>
        <Background />
        <Controls />
      </ReactFlow>
    </div>
  );
}

Product

Everything you need to build powerful visual experiences.

A complete toolkit for node-based interfaces — from the first drag to graphs with thousands of elements.

Selected node
Target

Interactive Node-Based Editor

Drag, select, connect and delete with interactions that feel native from the first click.

Agent
on success

Custom Nodes and Edges

Any React component becomes a node. Design edges with labels, buttons and animations.

Trigger · New order
Condition · total > $100
Action · Send email

Flexible Workflow Builder

Compose triggers, conditions and actions into workflows your users can run and debug.

UsersEventsOrdersStreamAlerts

Dynamic Graph Visualization

Stream data into nodes and watch graphs update live as your system changes.

Advanced Layout and Organization

Auto-layout with dagre or ELK, group nodes into sub-flows and snap to grid.

<ReactFlow
  nodes={nodes}
  nodeTypes={{ agent: AgentNode }}
  onConnect={onConnect}
  fitView
/>

Developer-Friendly Customization

Typed APIs, CSS variables and hooks give you full control without fighting the library.

60fps

Scalable Architecture

Render thousands of nodes smoothly with memoisation and visible-only rendering.

ZustandTailwindNext.jsTanStackVite

Seamless React Integration

Works with your state manager, your styling system and your framework of choice.

Flowcharts

Build interactive flowcharts with React.

Classic flowcharts get superpowers when every shape is a React component: decision diamonds that branch, steps that expand on click, and contextual help rendered right inside the node.

See a decision tree example
StartDecisionYesNo
WebhookFilterTransformSlack

Automation

Create powerful visual workflow builders.

Triggers, conditions and actions as nodes with typed handles, so users can only connect compatible steps. Serialize the graph as JSON and execute it on your backend in topological order — the pattern behind every great automation tool.

Open the automation example

AI

React Flow for AI agent workflows.

Agent traces are already graphs — spans with parent ids. Render them live: stream token and tool status into node data and let users watch the agent reason, inspect each step's payload, and compare runs side by side.

Explore the AI agent canvas
PromptRouterSearchLLM

Customization

Custom nodes, edges, and components.

An API call with a method badge, a table with a handle per column, an AI step with a model picker — custom nodes are just React components. Custom edges are SVG paths with labels, buttons and animations.

tsx
function ApiNode({ data }) {
  return (
    <div className="api-node">
      <Handle type="target" position={Position.Left} />
      <span className="method">{data.method}</span> {data.path}
      <Handle type="source" position={Position.Right} />
    </div>
  );
}
const nodeTypes = { api: ApiNode };
Learn custom nodes

Layout

React Flow layout algorithms.

Hand-placed nodes break down past a few dozen elements. Layout engines compute positions from the graph's structure so generated diagrams stay readable.

  • dagre — small, fast, great for top-down trees and pipelines.
  • ELK — highly configurable, supports ports and compound nodes.
  • d3-force — organic layouts for knowledge graphs.
Read the layouting guide

Comparison

React Flow vs. other diagram libraries.

Why teams pick React Flow over GoJS, mxGraph and hand-rolled D3 for node-based interfaces.

CapabilityReact FlowGoJSmxGraphD3 (DIY)
React components as nodes✓———
TypeScript-first API✓✓—✓
Built-in pan, zoom, minimap, controls✓✓✓—
MIT license, free for commercial use✓—✓✓
SSR-friendly (Next.js, Remix, TanStack)✓——✓
Active ecosystem (XYFlow, templates, Pro)✓✓—✓

Documentation

Explore tutorials and documentation.

Clear references for every component, hook and configuration option — with examples you can copy, managed and kept current through our CMS.

tsx
import { ReactFlow, Background, Controls } from "@xyflow/react";

export function Workflow({ nodes, edges }) {
  return (
    <ReactFlow nodes={nodes} edges={edges} fitView>
      <Background variant="dots" />
      <Controls />
    </ReactFlow>
  );
}

FAQ

Frequently asked questions.

Pricing

Simple pricing. Powerful possibilities.

Choose a flexible subscription or pay once for lifetime access.

Monthly Subscription

$49 / month

Full access to VisualFlow's premium capabilities with a flexible monthly subscription.

  • Full access to VisualFlow's premium capabilities
  • All learning resources and documentation
  • Product updates as they ship
  • Flexible month-to-month billing
Get Started
Pay once

Lifetime Access

$199 one-time payment

Pay once and enjoy lifetime access to the premium product.

  • Full access to VisualFlow's premium capabilities
  • All learning resources and documentation
  • Product updates as they ship
  • No recurring payments, ever
Get Lifetime Access

Building something bigger? Let's talk.

Need VisualFlow for a large team, enterprise deployment, or custom project? Let's discuss a solution tailored to your requirements.

Contact Sales

Start building visual experiences today.

From your first node to production-scale graphs, VisualFlow has you covered.