Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置 adjustEdgeStartAndEnd 没有生效 #1329

Closed
ParadiseWitch opened this issue Sep 8, 2023 · 1 comment
Closed

配置 adjustEdgeStartAndEnd 没有生效 #1329

ParadiseWitch opened this issue Sep 8, 2023 · 1 comment

Comments

@ParadiseWitch
Copy link

问题描述

adjustEdgeStartAndEnd 配置设置为false时,图中圈出来的位置仍然可以拖动调节(图中指针显示拖动指针):
A5ZQHJ GF (U7G~ TZBYN

最简复现

https://codesandbox.io/s/logicflow-base2-forked-4sw749?file=/src/index.js:0-429

相关信息 context

LogicFlow Version: 1.2.0-next.5
Node Version: v14.21.1
Platform: window10

@wumail
Copy link
Collaborator

wumail commented Sep 11, 2023

属性名 类型 默认值 说明
adjustEdge boolean true 允许调整边
adjustEdgeMiddle boolean false 只对折线生效,只允许调整边的中间线段,不允许调整与起点终点相连的线段
adjustEdgeStartAndEnd boolean false 允许调整边起点/终点

当adjustEdgeStartAndEnd为true时,连线的起点和终点分别会有一个可以通过拖拽来调整连线的点
图中的拖拽调整边的是中间线段,如果希望边不能被调整,设置adjustEdge: false

@wumail wumail closed this as completed Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants