react-flow

Build interactive node-based diagrams and workflows with React Flow.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/Lrmdom/patrimonio-pwa --skill react-flow-lrmdom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-flow
Source: https://github.com/Lrmdom/patrimonio-pwa/tree/main/.windsurf/skills/react-flow
Command: npx skills add https://github.com/Lrmdom/patrimonio-pwa --skill react-flow-lrmdom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Graphically represent processes and workflows by building customizable node-based diagrams using React Flow. It enables clear visualizations of complex systems, supports custom node and edge types, and provides viewport controls and interaction patterns.

Core Features & Use Cases

  • Custom nodes and edges to model workflows, process diagrams, and network visualizations.
  • Viewport control features like zoom, pan, and fit-to-view for responsive layouts.
  • Extensible patterns with examples and references to implement advanced diagrams.

Quick Start

Install and import React Flow, then render a basic flow with a few nodes and edges to visualize your workflow.

Frequently Asked Questions about react-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build interactive node-based diagrams and workflows in a web app?

You can build interactive node-based diagrams using React Flow to render custom graphs, leveraging NodeProps and EdgeProps for tailored workflow components. It provides viewport control for responsive layouts.

How do I create custom nodes and edges for a process diagram?

Create custom nodes and edges for process diagrams by utilizing React Flow's NodeProps and EdgeProps. This allows you to model specific workflows and network visualizations with highly customizable connection types.

Does React Flow support viewport control like zoom and pan for network visualizations?

React Flow supports viewport control for network visualizations, offering zoom, pan, and fit-to-view features. These ensure your complex graph layouts remain responsive and navigable across web applications.

Can I use React Flow to design a visual editor for complex systems?

Yes, you can use React Flow to design visual editors for complex systems. It enables clear graphical representations of processes with extensible patterns for implementing advanced interactive diagrams.

What's the best way to manage viewport state in a React Flow workflow editor?

Manage viewport state in a React Flow workflow editor by using the useReactFlow hook. This enables precise customization and programmatic viewport management for your node-based graphs.

How do I visualize a node graph with React Flow step by step?

To visualize a node graph, install and import React Flow, then render a basic flow component with defined nodes and edges. This quickly maps out your workflow structure within your application.