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.