What problem does it solve?
This Skill simplifies building and customizing interactive node-based graphs and workflow editors in React, removing friction around wiring nodes, styling edges, handling events, and programmatic viewport control.
Core Features & Use Cases
- Interactive Graphs: Create draggable nodes and connectable edges with built-in types and custom components.
- Custom Nodes & Edges: Implement typed NodeProps and EdgeProps to render domain-specific UI, including HTML edge labels, animated edges, and SVG text along paths.
- Viewport & Events: Use hooks to fit view, zoom, center, convert coordinates, and respond to node/edge/selection events for rich UX and automation.
- Use Case: Build an internal workflow editor or monitoring dashboard where users visually compose processes, inspect node data, and trigger actions from edge interactions.
Quick Start
Open a React project, install @xyflow/react, and add a React Flow canvas with initial nodes and edges to visualize and interact with your workflow.