I'll create an interface similar to the n8n workflow editor with draggable nodes and connections. Let's build this step by step:
This n8n-like editor interface includes:
- Main Canvas: A draggable, zoomable workspace where you can connect nodes
- Node Panel: Left sidebar with different node types you can add to your workflow
- Properties Panel: Right sidebar that appears when you select a node to edit its properties
Features:
- Drag nodes from the panel to add them to the canvas
- Connect nodes by dragging from one handle to another
- Select nodes to edit their properties
- Minimap for navigation in complex workflows
- Background grid and controls for zooming/panning
How to use:
- Click on a node type in the left panel to add it to the canvas
- Click on a node to select it and edit its properties in the right panel
- Connect nodes by dragging from the bottom handle of one node to the top handle of another
- Use the controls in the bottom right to zoom and pan the canvas
The interface uses ReactFlow for the node-based editor functionality, combined with shadcn/ui components for a clean, modern look similar to n8n.