Replies: 1 comment
-
It's my logic error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First. I customized the node. In the node , there is a array data to manage handles. then initial rendering of to handles is worker well. but I dynamically created a handle and recalcuated the position of the handle.
However. then position of the previously connected line will be offset. and the connection between each handle wile be messed up during the operation.
I also looked for the problems in the issue and discussion. when the hanles data changed. I called
updateNodeInternals()
method. but the connection line position was not updated.This is the operation recording. you can see that two handle were initially connected. I add a new handle. add it to the middle. and I recalcuated the position. but the connection line was not updated.
2024-10-29.09.31.15.mov
If you need more infomation. I will provide it.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions