From 0e3a877e5cda8fc98fb45bd67ce2fe941234f952 Mon Sep 17 00:00:00 2001 From: balibabu Date: Tue, 11 Jun 2024 19:31:52 +0800 Subject: [PATCH] feat: set the anchor points of all nodes to be enterable and exitable #918 (#1119) ### What problem does this PR solve? feat: set the anchor points of all nodes to be enterable and exitable #918 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/pages/flow/canvas/index.tsx | 2 ++ web/src/pages/flow/canvas/node/index.less | 6 +++++- web/src/pages/flow/canvas/node/index.tsx | 6 +++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/web/src/pages/flow/canvas/index.tsx b/web/src/pages/flow/canvas/index.tsx index c6be93178..c6855b9b4 100644 --- a/web/src/pages/flow/canvas/index.tsx +++ b/web/src/pages/flow/canvas/index.tsx @@ -1,6 +1,7 @@ import { useCallback } from 'react'; import ReactFlow, { Background, + ConnectionMode, Controls, MarkerType, NodeMouseHandler, @@ -64,6 +65,7 @@ function FlowCanvas({ sideWidth, chatDrawerVisible, hideChatDrawer }: IProps) {
{/* */} + {/* */} +