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

moveNode2Coordinate和moveNode移动节点位置都不生效 #1430

Closed
yaxianglu opened this issue Nov 16, 2023 · 1 comment
Closed

moveNode2Coordinate和moveNode移动节点位置都不生效 #1430

yaxianglu opened this issue Nov 16, 2023 · 1 comment

Comments

@yaxianglu
Copy link

如题,两个方法移动node节点都没有生效。grid设置true、false都如此。

请求帮助指出可能是哪里会限制node节点的移动效果

1.htmlNodeModel里面的setAttributes方法中,this.x和this.y都没有设置
2.getNodeModelById(id).y 这个值可能看到是移动后的数值。

但是页面显示的就是没有移动

@yaxianglu
Copy link
Author

原因是core的版本问题。原有版本是0.1.17。升级到0.2.12后解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant