X6 icon indicating copy to clipboard operation
X6 copied to clipboard

检查画布中的cell有无变化.但是又不想用cell:changed, 因为changed事件太宽泛了

Open firstdeepfeel opened this issue 1 year ago • 3 comments

功能描述

我在做一个模型的建模功能,如果cell发生了改变就要对这个模型做一个未保存的状态. 但是现在X6没有提供一个可用的事件. 比如cell:changed事件鼠标移入之后就会触发.这并不是我想要的. 还有其他的办法捕捉到吗. cell的样式改变位置改变增加删除都需要

期望解决方案

cell:changed 或change* 都会额外的触发, cell的样式改变位置改变增加删除, 边的移动新增途经点等等

firstdeepfeel avatar Apr 24 '24 02:04 firstdeepfeel

👋 @firstdeepfeel

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

x6-bot[bot] avatar Apr 24 '24 02:04 x6-bot[bot]

我们是将画布cell to json 然后 md5

light-years-run avatar Apr 25 '24 06:04 light-years-run

我们是将画布cell to json 然后 md5

我需要一个这种钩子去监测画布中是否发生了变化

firstdeepfeel avatar Jun 12 '24 06:06 firstdeepfeel