Skip to content

LintaoAmons/dataflow

Repository files navigation

DataFlow

A visual data flow editor for mapping JSON structures. Design data transformations by connecting fields between nodes on an infinite canvas.

Live Demo: https://dataflow.lintao-amons.workers.dev/

DataFlow Screenshot

Generate Import JSON with Claude Code

Use the /generate-import skill to create import JSON through conversation:

/generate-import

> I need: User (id, name, email), Order (orderId, userId, total), connect user.id → order.userId

This generates a complete JSON file ready to import into the app. See .claude/skills/generate-import.md for details.

Features

  • Import JSON - Paste JSON to auto-generate nodes with fields
  • Import JSONL - Import multiple JSON objects at once (one per line)
  • Visual Field Mapping - Drag connections between fields to define data flow
  • Nested Structure Support - Hierarchical tree view for nested objects
  • Dark Theme Nodes - Clean, modern UI with contextual ports
  • Keyboard Shortcuts - Ctrl+C/V for copy/paste nodes
  • Local Storage - Your work persists across browser sessions
  • Export/Import - Save and load complete graphs as JSON

Getting Started

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

Usage

  1. Right-click on the canvas to create a new node or import JSON
  2. Hover over a field row to see connection ports
  3. Drag from an output port (right) to an input port (left) to connect fields
  4. Click on a connection to select it, then press Delete to remove
  5. Hover over node header for rename, duplicate, and delete options

Keyboard Shortcuts

Shortcut Action
Ctrl+C / Cmd+C Copy selected node
Ctrl+V / Cmd+V Paste node
Delete / Backspace Delete selected node or connection

Examples

See the examples/ directory for sample data:

  • usecase.json - Complete pipeline: DB → Service → Event → Analytics → Report → CSV
  • sample.jsonl - Multiple JSON objects for JSONL import testing
  • sample-data.json - Various JSON structures to import

Tech Stack

License

MIT

About

A visual data flow editor for mapping JSON structures. Design data transformations by connecting fields between nodes on an infinite canvas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages