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

[Feature]连线工具 #83

Open
JessYan0913 opened this issue Apr 7, 2024 · 0 comments
Open

[Feature]连线工具 #83

JessYan0913 opened this issue Apr 7, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@JessYan0913
Copy link
Owner

Feature Request / 功能请求

特性描述 / Feature Description

实现图形与图形之间绑定连线的功能,任意图形拖动时连线绑定关系不变

解决方案描述 / Solution Description

创建一个Line的自定义图形,该图形包含from和to两个属性,分别监听from和to的图形的拖拽事件,来更新line图形的形状.

从而实现视觉上图形连接的效果

技术实现建议 / Technical Implementation Suggestions

https://konvajs.org/docs/sandbox/Connected_Objects.html

截图/图片 / Screenshots/Images

连线

参考 / References

备注 / Notes

@JessYan0913 JessYan0913 self-assigned this Apr 7, 2024
@JessYan0913 JessYan0913 added the good first issue Good for newcomers label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant