# React Flow

React component library for node\-based editors and interactive diagrams, with application\-defined data processing\.

ID: Q557 · Revision: 604

Type: software · License: MIT core; optional Pro examples and support have separate subscription terms[^license][^pro] · Status: active

Website: https://reactflow.dev/



React Flow is an open\-source React library for node\-based editors and interactive diagrams\. It supplies graph interaction features such as node dragging, selection, panning and zooming, while custom nodes can contain React components\. Applications define what their graph represents and how its data should be processed or stored\.[^home][^compute]

## Capabilities and substitutions

### Interactive graph UI — supported

Custom React nodes with dragging, viewport controls and selection\.[^home]

Use case: Embedding interactive node graphs and diagram editors in React applications · Platforms: Web, React, TypeScript · Region: Version, build and integration requirements apply

### Automatic layout — limited

Layout engines such as Dagre or ELK are external integrations, not a built\-in automatic layout solution\.[^layout]

Use case: Embedding interactive node graphs and diagram editors in React applications · Platforms: Web, React, TypeScript · Region: Version, build and integration requirements apply

### Server rendering — limited

Supported since v12 with explicit node dimensions and handle positions\.[^ssr]

Use case: Embedding interactive node graphs and diagram editors in React applications · Platforms: Web, React, TypeScript · Region: Version, build and integration requirements apply

### Graph computation — limited

Hooks support application\-defined dataflow; connecting visual nodes does not define their computation automatically\.[^compute]

Use case: Embedding interactive node graphs and diagram editors in React applications · Platforms: Web, React, TypeScript · Region: Version, build and integration requirements apply

### [Substitute for Rete\.js](/retejs) — limited

Can replace the visual React node\-editor layer when application\-defined processing is appropriate; does not provide API or graph\-format interchange with Rete\.[^home][^compute][^rete]

Use case: Embedding interactive node graphs and diagram editors in React applications · Platforms: Web, React, TypeScript · Region: Version, build and integration requirements apply

## References

[^home]: [React Flow overview](<https://reactflow.dev/>) — Node\-based UI and built\-in interactions (vendor; retrieved 2026-10-07T23:38:20Z)

[^layout]: [React Flow layouting](<https://reactflow.dev/learn/layouting/layouting>) — External layout engines and their constraints (vendor; retrieved 2026-10-07T23:38:43Z)

[^ssr]: [Server\-side rendering](<https://reactflow.dev/learn/advanced-use/ssr-ssg-configuration>) — Explicit node and handle geometry (vendor; retrieved 2026-10-07T23:38:37Z)

[^compute]: [Computing flows](<https://reactflow.dev/learn/advanced-use/computing-flows>) — Node data, connection hooks and input\-state caveat (vendor; retrieved 2026-10-07T23:38:52Z)

[^save]: [Save and restore](<https://reactflow.dev/examples/interaction/save-and-restore>) — toObject or local node/edge state (vendor; retrieved 2026-10-07T23:38:52Z)

[^migration]: [Migration to React Flow 12](<https://reactflow.dev/learn/troubleshooting/migrate-to-v12>) — Package rename and style imports (vendor; retrieved 2026-10-07T23:38:52Z)

[^license]: [xyflow MIT license](<https://github.com/xyflow/xyflow/blob/main/LICENSE>) — MIT grant and notice conditions (vendor; retrieved 2026-10-07T23:38:43Z)

[^pro]: [React Flow Pro](<https://reactflow.dev/pro>) — Optional examples and support subscription; core remains MIT (vendor; retrieved 2026-10-07T23:38:37Z)

[^rete]: [Rete\.js overview](<https://retejs.org/>) — Processing\-oriented editors and engine modules (vendor; retrieved 2026-10-07T23:38:30Z)

Source revision: https://substitutefor.net/entities/Q557?revision=604
