feat(lib/xod/core): add concat-n* nodes

This commit is contained in:
Victor Nakoryakov
2017-10-27 16:16:31 +03:00
parent 9e23a98a9e
commit e4e475346a
4 changed files with 611 additions and 0 deletions

View File

@@ -0,0 +1,110 @@
{
"description": "Concatenates (adds together) three strings",
"links": [
{
"id": "B1lECjxAW",
"input": {
"nodeId": "HJT7Rsg0-",
"pinKey": "Hkqu9oaWb"
},
"output": {
"nodeId": "BJSG0oeCb",
"pinKey": "__out__"
}
},
{
"id": "HkNSRjl0W",
"input": {
"nodeId": "r1c4Ajg0Z",
"pinKey": "Hkqu9oaWb"
},
"output": {
"nodeId": "HJT7Rsg0-",
"pinKey": "rksccsp-W"
}
},
{
"id": "SJhr0sgAb",
"input": {
"nodeId": "r1c4Ajg0Z",
"pinKey": "BkeKcj6ZZ"
},
"output": {
"nodeId": "SJWQ0sxAW",
"pinKey": "__out__"
}
},
{
"id": "r1QECoeCW",
"input": {
"nodeId": "HJT7Rsg0-",
"pinKey": "BkeKcj6ZZ"
},
"output": {
"nodeId": "Bk3zAogCb",
"pinKey": "__out__"
}
},
{
"id": "rkdL0jlRW",
"input": {
"nodeId": "rkv7CixAZ",
"pinKey": "__in__"
},
"output": {
"nodeId": "r1c4Ajg0Z",
"pinKey": "rksccsp-W"
}
}
],
"nodes": [
{
"id": "BJSG0oeCb",
"position": {
"x": 0,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "Bk3zAogCb",
"position": {
"x": 34,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "HJT7Rsg0-",
"position": {
"x": 0,
"y": 102
},
"type": "@/concat"
},
{
"id": "SJWQ0sxAW",
"position": {
"x": 102,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "r1c4Ajg0Z",
"position": {
"x": 0,
"y": 204
},
"type": "@/concat"
},
{
"id": "rkv7CixAZ",
"position": {
"x": 0,
"y": 306
},
"type": "xod/patch-nodes/output-string"
}
]
}

View File

@@ -0,0 +1,148 @@
{
"description": "Concatenates (adds together) four strings",
"links": [
{
"id": "BJEc0ilCW",
"input": {
"nodeId": "H1g9RolAb",
"pinKey": "BkeKcj6ZZ"
},
"output": {
"nodeId": "HJo_RjlC-",
"pinKey": "rksccsp-W"
}
},
{
"id": "BkDY0slC-",
"input": {
"nodeId": "HkDdRoxCb",
"pinKey": "BkeKcj6ZZ"
},
"output": {
"nodeId": "SylJ_0ilRW",
"pinKey": "__out__"
}
},
{
"id": "BkhFAilCW",
"input": {
"nodeId": "HJo_RjlC-",
"pinKey": "BkeKcj6ZZ"
},
"output": {
"nodeId": "rkeguColC-",
"pinKey": "__out__"
}
},
{
"id": "BkvcCox0-",
"input": {
"nodeId": "H1g9RolAb",
"pinKey": "Hkqu9oaWb"
},
"output": {
"nodeId": "HkDdRoxCb",
"pinKey": "rksccsp-W"
}
},
{
"id": "ByKYAjeRW",
"input": {
"nodeId": "HJo_RjlC-",
"pinKey": "Hkqu9oaWb"
},
"output": {
"nodeId": "BJxOCieAW",
"pinKey": "__out__"
}
},
{
"id": "SyLYRsxCZ",
"input": {
"nodeId": "HkDdRoxCb",
"pinKey": "Hkqu9oaWb"
},
"output": {
"nodeId": "BykdRsgR-",
"pinKey": "__out__"
}
},
{
"id": "r1_s0igAb",
"input": {
"nodeId": "BkEj0se0Z",
"pinKey": "__in__"
},
"output": {
"nodeId": "H1g9RolAb",
"pinKey": "rksccsp-W"
}
}
],
"nodes": [
{
"id": "BJxOCieAW",
"position": {
"x": 68,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "BkEj0se0Z",
"position": {
"x": 0,
"y": 306
},
"type": "xod/patch-nodes/output-string"
},
{
"id": "BykdRsgR-",
"position": {
"x": -1,
"y": -1
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "H1g9RolAb",
"position": {
"x": 0,
"y": 204
},
"type": "@/concat"
},
{
"id": "HJo_RjlC-",
"position": {
"x": 68,
"y": 102
},
"type": "@/concat"
},
{
"id": "HkDdRoxCb",
"position": {
"x": 0,
"y": 102
},
"type": "@/concat"
},
{
"id": "SylJ_0ilRW",
"position": {
"x": 33,
"y": -1
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "rkeguColC-",
"position": {
"x": 102,
"y": 0
},
"type": "xod/patch-nodes/input-string"
}
]
}

View File

@@ -0,0 +1,167 @@
{
"description": "Concatenates (adds together) five strings",
"links": [
{
"id": "Hk_Ek3xCb",
"input": {
"nodeId": "BkS413lAZ",
"pinKey": "Hkqu9oaWb"
},
"output": {
"nodeId": "BJkZ1hgA-",
"pinKey": "__out__"
}
},
{
"id": "S1zSy2eR-",
"input": {
"nodeId": "H104Jhe0b",
"pinKey": "BkeKcj6ZZ"
},
"output": {
"nodeId": "BkS413lAZ",
"pinKey": "rksccsp-W"
}
},
{
"id": "SJYVy2g0-",
"input": {
"nodeId": "BkS413lAZ",
"pinKey": "BkeKcj6ZZ"
},
"output": {
"nodeId": "BkxkZyngA-",
"pinKey": "__out__"
}
},
{
"id": "rkUXk3g0Z",
"input": {
"nodeId": "B1XXk2eCZ",
"pinKey": "BJSG0oeCb"
},
"output": {
"nodeId": "rJwg1hlA-",
"pinKey": "__out__"
}
},
{
"id": "rklByhx0b",
"input": {
"nodeId": "H104Jhe0b",
"pinKey": "Hkqu9oaWb"
},
"output": {
"nodeId": "B1XXk2eCZ",
"pinKey": "rkv7CixAZ"
}
},
{
"id": "ry9ryng0b",
"input": {
"nodeId": "BkwSkhxR-",
"pinKey": "__in__"
},
"output": {
"nodeId": "H104Jhe0b",
"pinKey": "rksccsp-W"
}
},
{
"id": "ryO7JnlAW",
"input": {
"nodeId": "B1XXk2eCZ",
"pinKey": "Bk3zAogCb"
},
"output": {
"nodeId": "B1gDlJngC-",
"pinKey": "__out__"
}
},
{
"id": "rytQJngA-",
"input": {
"nodeId": "B1XXk2eCZ",
"pinKey": "SJWQ0sxAW"
},
"output": {
"nodeId": "BkbDg12xAb",
"pinKey": "__out__"
}
}
],
"nodes": [
{
"id": "B1XXk2eCZ",
"position": {
"x": 0,
"y": 102
},
"type": "@/concat-3"
},
{
"id": "B1gDlJngC-",
"position": {
"x": 34,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "BJkZ1hgA-",
"position": {
"x": 102,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "BkS413lAZ",
"position": {
"x": 102,
"y": 102
},
"type": "@/concat"
},
{
"id": "BkbDg12xAb",
"position": {
"x": 68,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "BkwSkhxR-",
"position": {
"x": 34,
"y": 306
},
"type": "xod/patch-nodes/output-string"
},
{
"id": "BkxkZyngA-",
"position": {
"x": 136,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "H104Jhe0b",
"position": {
"x": 34,
"y": 204
},
"type": "@/concat"
},
{
"id": "rJwg1hlA-",
"position": {
"x": 0,
"y": 0
},
"type": "xod/patch-nodes/input-string"
}
]
}

View File

@@ -0,0 +1,186 @@
{
"description": "Concatenates (adds together) six strings",
"links": [
{
"id": "B1CuJhxA-",
"input": {
"nodeId": "S1s_y2l0W",
"pinKey": "__in__"
},
"output": {
"nodeId": "BkM_k2lCZ",
"pinKey": "rksccsp-W"
}
},
{
"id": "B1xF13lRb",
"input": {
"nodeId": "BkIvJheRb",
"pinKey": "BJSG0oeCb"
},
"output": {
"nodeId": "BJKLyhe0W",
"pinKey": "__out__"
}
},
{
"id": "By-Y12g0b",
"input": {
"nodeId": "BkIvJheRb",
"pinKey": "Bk3zAogCb"
},
"output": {
"nodeId": "HJeYIkheCZ",
"pinKey": "__out__"
}
},
{
"id": "HkUYkhe0Z",
"input": {
"nodeId": "S1nPy3eR-",
"pinKey": "SJWQ0sxAW"
},
"output": {
"nodeId": "S16UJhg0b",
"pinKey": "__out__"
}
},
{
"id": "HyGtk2eC-",
"input": {
"nodeId": "BkIvJheRb",
"pinKey": "SJWQ0sxAW"
},
"output": {
"nodeId": "BJWtUJhgR-",
"pinKey": "__out__"
}
},
{
"id": "r1vuyneRZ",
"input": {
"nodeId": "BkM_k2lCZ",
"pinKey": "BkeKcj6ZZ"
},
"output": {
"nodeId": "S1nPy3eR-",
"pinKey": "rkv7CixAZ"
}
},
{
"id": "rJNtk3xRW",
"input": {
"nodeId": "S1nPy3eR-",
"pinKey": "BJSG0oeCb"
},
"output": {
"nodeId": "rJzKUJ3eA-",
"pinKey": "__out__"
}
},
{
"id": "ryH_J3gAZ",
"input": {
"nodeId": "BkM_k2lCZ",
"pinKey": "Hkqu9oaWb"
},
"output": {
"nodeId": "BkIvJheRb",
"pinKey": "rkv7CixAZ"
}
},
{
"id": "rySKk3gRZ",
"input": {
"nodeId": "S1nPy3eR-",
"pinKey": "Bk3zAogCb"
},
"output": {
"nodeId": "HyXtUJnxCW",
"pinKey": "__out__"
}
}
],
"nodes": [
{
"id": "BJKLyhe0W",
"position": {
"x": 0,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "BJWtUJhgR-",
"position": {
"x": 68,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "BkIvJheRb",
"position": {
"x": 0,
"y": 102
},
"type": "@/concat-3"
},
{
"id": "BkM_k2lCZ",
"position": {
"x": 34,
"y": 204
},
"type": "@/concat"
},
{
"id": "HJeYIkheCZ",
"position": {
"x": 34,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "HyXtUJnxCW",
"position": {
"x": 136,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "S16UJhg0b",
"position": {
"x": 170,
"y": 0
},
"type": "xod/patch-nodes/input-string"
},
{
"id": "S1nPy3eR-",
"position": {
"x": 102,
"y": 102
},
"type": "@/concat-3"
},
{
"id": "S1s_y2l0W",
"position": {
"x": 34,
"y": 306
},
"type": "xod/patch-nodes/output-string"
},
{
"id": "rJzKUJ3eA-",
"position": {
"x": 102,
"y": 0
},
"type": "xod/patch-nodes/input-string"
}
]
}