RichardDFang opened a new issue, #21642:
URL: https://github.com/apache/echarts/issues/21642

   ### Version
   
   6.1.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=graph
   
   ### Steps to Reproduce
   
   在官网示例里面对应位置添加draggable:true,点击运行,拖拽其中某个节点几次即可复现
   
   ### Current Behavior
   
   ···js
   myChart.showLoading();
   $.getJSON(ROOT_PATH + '/data/asset/data/les-miserables.json', function 
(graph) {
     myChart.hideLoading();
     graph.nodes.forEach(function (node) {
       node.label = {
         show: node.symbolSize > 30
       };
     });
     option = {
       title: {
         text: 'Les Miserables',
         subtext: 'Default layout',
         top: 'bottom',
         left: 'right'
       },
       tooltip: {},
       legend: [
         {
           // selectedMode: 'single',
           data: graph.categories.map(function (a) {
             return a.name;
           })
         }
       ],
       animationDuration: 1500,
       animationEasingUpdate: 'quinticInOut',
       series: [
         {
           name: 'Les Miserables',
           type: 'graph',
           legendHoverLink: false,
           layout: 'none',
           draggable: true,
           data: graph.nodes,
           links: graph.links,
           categories: graph.categories,
           roam: true,
           label: {
             position: 'right',
             formatter: '{b}'
           },
           lineStyle: {
             color: 'source',
             curveness: 0.3
           },
           emphasis: {
             focus: 'adjacency',
             lineStyle: {
               width: 10
             }
           }
         }
       ]
     };
     myChart.setOption(option);
   });
   ```
   
   如上图是官网示例,运行后,拖拽其中某个节点2次及以上,其他关系节点的连接线会逐渐消失
   
   ### Expected Behavior
   
   拖拽时,节点间的连接线不消失
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### Any additional comments?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to