XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEWorkflow

【WinUI】XFE基于windows的工作流

公开
关注 0 Fork 0 Star 0
UTF-8
{
  "schemaVersion": 1,
  "id": "sample-basic-text-concat",
  "name": "基础节点 · 文本拼接",
  "description": "将工作流输入的两段文本通过连线拼接,只输出一条明确的日志。分隔符可在拼接节点设置;原输入、空白和表情保持不变。无需插件。",
  "enabled": false,
  "kind": "Graph",
  "graph": {
    "nodes": [
      {
        "id": "text-start",
        "capabilityId": "core.start",
        "name": "开始",
        "x": 160,
        "y": 180,
        "parameters": {}
      },
      {
        "id": "text-concat",
        "capabilityId": "core.text.concat",
        "name": "拼接两段文本",
        "x": 620,
        "y": 180,
        "parameters": {
          "separator": ""
        }
      },
      {
        "id": "text-log",
        "capabilityId": "core.log",
        "name": "输出拼接结果",
        "x": 1080,
        "y": 180,
        "parameters": {}
      },
      {
        "id": "text-end",
        "capabilityId": "core.end",
        "name": "结束",
        "x": 1540,
        "y": 180,
        "parameters": {}
      }
    ],
    "edges": [
      {
        "fromNode": "text-start",
        "fromPort": "next",
        "toNode": "text-concat",
        "toPort": "in",
        "kind": "Execution"
      },
      {
        "fromNode": "text-concat",
        "fromPort": "next",
        "toNode": "text-log",
        "toPort": "in",
        "kind": "Execution"
      },
      {
        "fromNode": "text-log",
        "fromPort": "next",
        "toNode": "text-end",
        "toPort": "in",
        "kind": "Execution"
      },
      {
        "fromNode": "text-start",
        "fromPort": "left",
        "toNode": "text-concat",
        "toPort": "left",
        "kind": "Data"
      },
      {
        "fromNode": "text-start",
        "fromPort": "right",
        "toNode": "text-concat",
        "toPort": "right",
        "kind": "Data"
      },
      {
        "fromNode": "text-concat",
        "fromPort": "value",
        "toNode": "text-log",
        "toPort": "message",
        "kind": "Data"
      },
      {
        "fromNode": "text-concat",
        "fromPort": "value",
        "toNode": "text-end",
        "toPort": "result",
        "kind": "Data"
      }
    ]
  },
  "inputs": [
    {
      "name": "left",
      "type": "String",
      "label": "左文本"
    },
    {
      "name": "right",
      "type": "String",
      "label": "右文本"
    }
  ],
  "inputDefaults": {
    "left": "你好,",
    "right": "XFEWorkflow 🌚"
  },
  "outputs": [
    {
      "name": "result",
      "type": "String",
      "label": "拼接文本"
    }
  ],
  "variables": {},
  "pluginVersions": {},
  "triggers": [],
  "modifiedAt": "2026-10-13T00:00:00+08:00"
}