You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
有一个需求就是两个自定义的节点旋转之后,edge 线条不会垂直,需要通过代码进行自己垂直校正。如图:

已经在未旋转的时候(默认的时候)实现了,但是在旋转后,无法计算相对位置,导致edge 线条不能垂直。

期望通过点击校正,就可以把edge 线条设置垂直, 主要是要移动target 的节点位置,移动source 节点时,再次点击校正, target 节点的位置就会移动,使得edge 是垂直的线
Beta Was this translation helpful? Give feedback.
All reactions