Explore various implementations of xyflow with Lit WebComponents.
A simple graph with standard nodes and edges.
A comprehensive example showing various node types and features.
Nodes with multiple input and output ports.
Add and remove nodes and edges dynamically.
Build complex nodes with internal state and custom Lit templates.
Demonstrate different edge types: Bezier, SmoothStep, Step, and Straight.
Nested nodes and parent-child relationships with group collapse/expand.
Read-only graph for documentation with disabled interactions.
Interactive palette for dragging new nodes onto the canvas.
Showcasing arrowheads, bidirectional edges, and edge labels.
Select multiple nodes and edges by dragging a selection box.
A dual-pane authoring tool with live JSON sync and two-way binding.
Interactive node manipulation with drag-to-resize and contextual action toolbars.
Automatically arrange nodes from topological data using Hierarchical, Organic, or Tree strategies.
Toggle between horizontal and vertical layouts. Handles and edges adapt automatically.
A specialized layout for strict parent-child relationships using D3-Hierarchy.
Focus on specific parts of a graph by isolating connected nodes and edges.
Demonstrates dynamic node rendering based on Breadboard-compatible JSON Schema.