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

feat: getTargetAnchor方法增加AdjustType类型参数方便确定是获取前序节点还是后序节点的锚点 #1172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wangzhengbo
Copy link

@wangzhengbo wangzhengbo commented May 31, 2023

为了让布局更好看,可能需要限制只能从前一个节点的右侧锚点连接到下一个节点的左侧锚点。
在调整边的锚点时,需要知道是调整的左侧还是右侧锚点,好确定目标节点的锚点。
比如调整边的右侧锚点,getTargetAnchor需要返回节点的左侧锚点;调整边的左侧锚点,getTargetAnchor需要返回节点的右侧锚点;

@towersxu
Copy link
Collaborator

towersxu commented Jun 1, 2023

@wangzhengbo 您好,能补充一下使用示例吗?

@wangzhengbo
Copy link
Author

@wangzhengbo 您好,能补充一下使用示例吗?

@psrheartache
Copy link

@wangzhengbo 您好,能补充一下使用示例吗?

请问下您描述的是这个问题吗? Feature Request 版本能否内置一个连线优化的功能 #1230

@wangzhengbo
Copy link
Author

@wangzhengbo 您好,能补充一下使用示例吗?

请问下您描述的是这个问题吗? Feature Request 版本能否内置一个连线优化的功能 #1230

还有些不一样。

@psrheartache
Copy link

@wangzhengbo 您好,能补充一下使用示例吗?

请问下您描述的是这个问题吗? Feature Request 版本能否内置一个连线优化的功能 #1230

还有些不一样。

1。 感谢🙏

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

Successfully merging this pull request may close these issues.

None yet

3 participants