拖拽逻辑更新

This commit is contained in:
YHH
2025-06-17 23:59:30 +08:00
parent 577f1e429a
commit 06ea01e928
24 changed files with 2127 additions and 1843 deletions

View File

@@ -0,0 +1,63 @@
{
"nodes": [
{
"id": "node_b0bpuk8ei",
"type": "Sequence",
"name": "序列器",
"icon": "→",
"description": "按顺序执行子节点,任一失败则整体失败",
"x": 207.39999389648438,
"y": 145.59999084472656,
"children": [
"node_pgmfxi7ho"
],
"properties": {
"abortType": {
"name": "中止类型",
"type": "select",
"value": "None",
"description": "决定节点在何种情况下会被中止",
"options": [
"None",
"LowerPriority",
"Self",
"Both"
],
"required": false
}
},
"canHaveChildren": true,
"canHaveParent": true,
"hasError": false
},
{
"id": "node_pgmfxi7ho",
"type": "Inverter",
"name": "反转器",
"icon": "⚡",
"description": "反转子节点的执行结果",
"x": 163.39999389648438,
"y": 436.59999084472656,
"children": [],
"properties": {},
"canHaveChildren": true,
"canHaveParent": true,
"hasError": false,
"parent": "node_b0bpuk8ei"
}
],
"connections": [
{
"id": "node_b0bpuk8ei-node_pgmfxi7ho",
"sourceId": "node_b0bpuk8ei",
"targetId": "node_pgmfxi7ho",
"path": "M 307.3999938964844 265.59999084472656 C 307.3999938964844 351.09999084472656 263.3999938964844 351.09999084472656 263.3999938964844 436.59999084472656",
"active": false
}
],
"metadata": {
"name": "untitled",
"created": "2025-06-17T14:52:33.885Z",
"version": "1.0"
}
}