We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
应用场景:cell可能有一些自定义的prop,prop依赖于cell之间的children关系或者其他关系,所以需要在添加到剪切板前更新这些prop。
graph.copy()和graph.cut()支持通过回调,对复制到剪贴板的cell进行修改。
The text was updated successfully, but these errors were encountered:
为什么不是 paste 的时候去修改呢?
Sorry, something went wrong.
因为copy的前后cell之间可能绑定一些关联属性;paste只能统一更新一些属性,而不能单独设置; 举个例子:copy前有两个cell,分别在prop中绑定了对方的id;那么现在版本,paste的两个cell,还是分别绑定的之前两个cell的id
No branches or pull requests
功能描述
应用场景:cell可能有一些自定义的prop,prop依赖于cell之间的children关系或者其他关系,所以需要在添加到剪切板前更新这些prop。
期望解决方案
graph.copy()和graph.cut()支持通过回调,对复制到剪贴板的cell进行修改。
The text was updated successfully, but these errors were encountered: