zoulixun commented on issue #3553:
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/3553#issuecomment-678004218


   Solved Method:
   First,you can remove all the 'HoverPaintStyle'attribute when the dag init in 
'dag.vue'.
   Secondly,you should remove all the 'fill' attribute in 'setSvgColor' 
function in 'dag/_source/plugin/util.js' and add a selected color that you want 
when '_.map($(e.canvas)[0].childNodes'.
   Method End.
   Additional remarks:although cancled the hover style of the connecting 
line,you can know which line you have selected clearly if you do this.
   解决办法:
   首先,当dag初始化的时候,你要删除所有的‘HoverPaintStyle’属性在‘dag.vue’文件中。
   
其次,你要删除‘setSvgColor‘函数中’的所有的’fill‘属性并且添加一个你想要的颜色在‘_.map($(e.canvas)[0].childNodes'的时候在dag/_source/plugin/util.js'
 文件中。
   方法结束。
   补充说明:这样做的话虽然取消了连接线的鼠标悬停样式,但是你可以清楚地知道你选中的是哪条线。
   


----------------------------------------------------------------
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.

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


Reply via email to