Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是一个很长的镜头,我知道这是一个关于非常具体的包裹的问题。
我试图阻止节点拖入图表的某个区域。
我已经编写了代码来检测鼠标何时被拖动到节点上,但这有点小技巧。我正在尝试获取鼠标正在拖动的节点及其 XY 坐标,但不知道该怎么做。
我找不到任何方法来覆盖它,选取框处理程序不会被调用以进行节点拖动。我正在考虑覆盖 BasicUI 类,但不知道
您最好在JGraph 论坛上发帖。