You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/12/01 02:13:41 UTC

[GitHub] [incubator-echarts] ruibei opened a new issue #13727: Echarts network graph 网络图 鼠标悬浮到节点后,目前只能高亮显示关联的下级节点,关联节点可否显示到第三级

ruibei opened a new issue #13727:
URL: https://github.com/apache/incubator-echarts/issues/13727


   ### What problem does this feature solve?
   Echarts network graph  网络图 鼠标悬浮到节点后,目前只能高亮显示关联的下级节点,关联节点可否显示到第三级。
   这样可以对决策分析有非常大的帮助
   
   ### What does the proposed API look like?
   graph.nodes.forEach(function (node) {
           node.itemStyle = null;
           node.value = node.symbolSize;
           node.symbolSize /= 1.5;
           node.label = {
               show: node.symbolSize > 30
           };
           node.category = node.attributes.modularity_class;
       });
       option = {
           title: {
               text: 'Les Miserables',
               subtext: 'Default layout',
               top: 'bottom',
               left: 'right'
           },
           tooltip: {},
           legend: [{
               // selectedMode: 'single',
               data: categories.map(function (a) {
                   return a.name;
               })
           }],
           animationDuration: 1500,
           animationEasingUpdate: 'quinticInOut',
           series : [
               {
                   name: 'Les Miserables',
                   type: 'graph',
                   layout: 'none',
                   data: graph.nodes,
                   links: graph.links,
                   categories: categories,
                   roam: true,
                   focusNodeAdjacency: true,
                   itemStyle: {
                       borderColor: '#fff',
                       borderWidth: 1,
                       shadowBlur: 10,
                       shadowColor: 'rgba(0, 0, 0, 0.3)'
                   },
                   label: {
                       position: 'right',
                       formatter: '{b}'
                   },
                   lineStyle: {
                       color: 'source',
                       curveness: 0.3
                   },
                   emphasis: {
                       lineStyle: {
                           width: 10
                       }
                   }
               }
           ]
       };
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13727: Echarts network graph 网络图 鼠标悬浮到节点后,目前只能高亮显示关联的下级节点,关联节点可否显示到第三级

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13727:
URL: https://github.com/apache/incubator-echarts/issues/13727#issuecomment-736170747


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13727: Echarts network graph 网络图 鼠标悬浮到节点后,目前只能高亮显示关联的下级节点,关联节点可否显示到第三级

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13727:
URL: https://github.com/apache/incubator-echarts/issues/13727#issuecomment-736175310


   @ruibei Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM or https://www.makeapie.com/editor.html.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org