From dd7f9f6ceead0a823c81616d98f16f90996037b6 Mon Sep 17 00:00:00 2001 From: zhaoying Date: Mon, 27 Apr 2026 14:08:02 +0800 Subject: [PATCH] fix(web): output type node only has left port --- web/src/views/Workflow/constant.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/web/src/views/Workflow/constant.ts b/web/src/views/Workflow/constant.ts index 877758fc..6acc01df 100644 --- a/web/src/views/Workflow/constant.ts +++ b/web/src/views/Workflow/constant.ts @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-03 15:06:18 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-04-21 18:23:31 + * @Last Modified time: 2026-04-27 14:07:14 */ import type { ReactShapeConfig } from '@antv/x6-react-shape'; import type { GroupMetadata, PortMetadata } from '@antv/x6/lib/model/port'; @@ -948,6 +948,15 @@ export const graphNodeLibrary: Record = { width: nodeWidth, height: 120, shape: 'notes-node', + }, + output: { + width: nodeWidth, + height: 76, + shape: 'normal-node', + ports: { + groups: { left: defaultPortGroup }, + items: [defaultPortItems[0]], + }, } }