[Bug Report]: v2版本 构造方法中nodeTextDraggable/edgeTextDraggable 属性设置为true无效 无法实现节点文本和连接线文本的拖拽
Open
resolution: invalid
- Dominant language
- TypeScript
- Stars
- 11.7k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
### 发生了什么?
v2版本 构造方法中nodeTextDraggable/edgeTextDraggable 属性设置为true无效 无法实现节点文本和连接线文本的拖拽 (可用状态时 鼠标位于文本上回有移动的鼠标指针模式 且文本可拖动)
v1版本 这2个属性可用
// 创建画布实例,也可以 new Core.LogicFLow
const lf = new Core.default({
container: document.querySelector('#container'),
width: 700,
height: 500,
grid: true,
nodeTextDraggable:true,
edgeTextDraggable:true,
})
示例地址
https://github.com/eye33/logicFlow_demo_v2/blob/main/index.html
### logicflow/core版本
2.x
### logicflow/extension版本
2.x
### logicflow/engine版本
_No response_
### 浏览器&环境
Chrome, Microsoft Edge
Contributor guide
Assessment
This issue has not been assessed yet.