mirror of
https://github.com/open-gitagent/langship.sh.git
synced 2026-08-03 07:21:04 +02:00
- Introduced NodePalette component to display draggable nodes categorized by type. - Implemented PipelineCanvas component to manage the flow of nodes and connections. - Integrated drag-and-drop functionality for adding nodes to the canvas. - Created a catalog of node types with associated metadata for rendering in the palette. - Established conversion functions between pipeline definitions and React Flow state. - Added inspector for editing node properties and managing connections. - Updated Next.js configuration for production and development environments. - Removed obsolete embed.go file and added nginx configuration for serving the app. - Updated package dependencies including @xyflow/react for enhanced functionality. - Added TypeScript definitions for CSS imports to support styling in components.
50 lines
1.0 KiB
JSON
50 lines
1.0 KiB
JSON
{
|
|
"name": "hello",
|
|
"nodes": [
|
|
{
|
|
"id": "1",
|
|
"name": "Trigger",
|
|
"type": "n8n-nodes-base.manualTrigger",
|
|
"typeVersion": 1,
|
|
"parameters": {},
|
|
"position": [0, 0]
|
|
},
|
|
{
|
|
"id": "2",
|
|
"name": "Set Greeting",
|
|
"type": "n8n-nodes-base.set",
|
|
"typeVersion": 3,
|
|
"parameters": {
|
|
"assignments": {
|
|
"assignments": [
|
|
{ "name": "greeting", "value": "hello, flow", "type": "string" },
|
|
{ "name": "version", "value": 1, "type": "number" }
|
|
]
|
|
}
|
|
},
|
|
"position": [200, 0]
|
|
},
|
|
{
|
|
"id": "3",
|
|
"name": "End",
|
|
"type": "n8n-nodes-base.noop",
|
|
"typeVersion": 1,
|
|
"parameters": {},
|
|
"position": [400, 0]
|
|
}
|
|
],
|
|
"connections": {
|
|
"Trigger": {
|
|
"main": [
|
|
[{ "node": "Set Greeting", "type": "main", "index": 0 }]
|
|
]
|
|
},
|
|
"Set Greeting": {
|
|
"main": [
|
|
[{ "node": "End", "type": "main", "index": 0 }]
|
|
]
|
|
}
|
|
},
|
|
"settings": {}
|
|
}
|