Reflex Logo
Docs Logo
Enterprise

/

React Flow

/

Basic Flow

Basic Flow Example

This example demonstrates a simple flow diagram with three nodes and two edges, showing how nodes can be connected and how edges can be animated.

Nodes

  • Input Node – starting point
  • Default Node – standard content node
  • Output Node – endpoint of the flow

Edges

  • Input → Default (animated)
  • Default → Output

Interactivity

  • Nodes can be moved
  • Edges update dynamically
  • Users can drag from handles to create new edges
  • Zoom, pan, and mini-map controls are available

Visual Layout

  • Flow fits viewport automatically
  • Background grid for orientation
  • Light and dark color modes supported

Example Flow

Mini Map
Built with Reflex