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/04/27 13:31:32 UTC

[GitHub] [incubator-echarts] amiraziz opened a new issue #12510: graph initialize speed

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


   ### What problem does this feature solve?
   i have more than 50 connected links and problem is very confusing and boring until graph calms down. how can i increase speed of initilize time?
   
   my options:
   
   `const chart = document.getElementById('graphContainer');
       const myChart = echarts.init(chart);
       const option = {
           tooltip: {show: true, formatter: "{c0}"},
           animationDuration: 100,
           animationEasingUpdate: 'elasticInOut',
           series: [{
               type: 'graph',
               layout: 'force',
               animation: false,
               symbolSize: [30, 30],
               animationDurationUpdate: 0,
               emphasis: {
                   itemStyle: {
                       borderColor: null,
                       borderWidth: null,
                       color: "#2359c0",
                       shadowBlur: null,
                       shadowColor: "rgba(0, 0, 0, 0.3)"
                   }
               },
               label: {
                   position: 'right',
                   formatter: '{b}'
               },
               draggable: true,
               data: result.nodes,
               force: {
                   edgeLength: 150,
                   gravity: 0.1,
                   repulsion: 250,
               },
               edges: result.links,
               edgeSymbol: ['arrow'],
               edgeLabel: {fontSize: 10},
               focusNodeAdjacency: true,
               roam: true,
               lineStyle: {opacity: 0.9, width: 1.5, curveness: 0.1, color: '#682F2F'}
           }]
       };
       myChart.setOption(option);`
   
   ### What does the proposed API look like?
   good
   
   <!-- 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 #12510: graph initialize speed

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


   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 questions.
   
   If you are interested in the project, you may also subscribe our [mail 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] 100pah commented on issue #12510: graph initialize speed

Posted by GitBox <gi...@apache.org>.
100pah commented on issue #12510:
URL: https://github.com/apache/incubator-echarts/issues/12510#issuecomment-621924221


   Will set [layoutAnimation](https://www.echartsjs.com/en/option.html#series-graph.force.layoutAnimation) as `false` help?


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