Skip to content

[Feature]连线工具 #83

@JessYan0913

Description

@JessYan0913

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions