wangzhengbo
wangzhengbo
 如上,如果起始和结束节点不在一条水平线上,使用Bezier曲线时,边终点部分和箭头左侧的边没有居中对齐,看上去效果不是很完美。有什么好的处理方式吗?
1. 直接从节点A连接到B,鼠标可以在节点B内任意移动; 2. 调整A -> C节点之间的边,改成A -> B,鼠标在节点B内移动的时候默认会被吸附到距离最近的锚点; 因为AdjustPoint.tsx中有如下代码,edgeModel.updateAfterAdjustStartAndEnd(params);产生了吸附交互 ```javascript // 如果一定的坐标能够找到目标节点,预结算当前节点与目标节点的路径进行展示 if (info && info.node && this.isAllowAdjust(info)) { let params; const { startPoint, endPoint, sourceNode, targetNode } = edgeModel;...
Description I need draggable item move just in the droppable area , It moves all over the window. we can not limit movement in the droppable or even in the...
浏览器下需要能支持异步的new GET请求,避免同步请求阻塞线程