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
classCustomEdgeextendsLineEdge{afterDraw(model,shapeMap,diffData,diffState){// get the first shape in the group, it is the edge's path here=constshape=shapeMap.keyShape;console.log(shape)letindex=0;// Define the animationshape.animate(()=>{index++;if(index>9){index=0;}console.log(index)constres={keyShape: {
lineDash,lineDashOffset: -index,stroke: 'rgba(94,205,162,.7)',lineWidth: 3}};// returns the modified configurations here, lineDash and lineDashOffset herereturnres;},{repeat: true,// whether executes the animation repeatlyduration: 3000,// the duration for executing once},);}}constGraph=extend(BaseGraph,{edges: {'custom-edge': CustomEdge,},});
问题描述
我想要edge在最底层,但如链接所示,
groupByTypes: false
时,对edge isBack似乎无效果。combo内的连线在node底下,而外边的又在上边,这个怎么弄?重现链接
codesandbox
重现步骤
如上
预期行为
正常
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: