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
拖动画布,添加节点到画布左侧失败
The text was updated successfully, but these errors were encountered:
这是项目给出的示例
Sorry, something went wrong.
在dragPanelItemAddNode.js 中有这么一段代码
onMouseUp (e) { if (this.graph.get('addNodeDragging')) { const p = this.graph.getPointByClient(e.clientX, e.clientY); ...... } },
这样写可以避免这种情况
const p = this.graph.getPointByClient(e.clientX, e.clientY); const { x, y } = this.graph.getCanvasByPoint(p.x, p.y);
No branches or pull requests
拖动画布,添加节点到画布左侧失败
![image](https://user-images.githubusercontent.com/44865004/110906346-c7ebc980-8346-11eb-97f0-513a9efc4594.png)
The text was updated successfully, but these errors were encountered: