大量数据的关系图echarts graph配置项内容和展示

大量数据数据绘图速度超级慢,不知道是我的数据问题还是逻辑问题

配置项如下
      var uploadedDataURL = "/asset/get/s/data-1503378442855-BJ7zhEFdW.json";






$.getJSON(uploadedDataURL, function(linedata) {
    var data = linedata[0]
    var links = linedata[1]
    var categories = linedata[2]

    option = {

        title: {
            text: "test1",

            top: "top",
            left: "center"
        },

        tooltip: {},

        toolbox: {
            show: true,
            feature: {
                dataView: {
                    show: true,
                    readOnly: true
                },
                restore: {
                    show: true
                },
                saveAsImage: {
                    show: true
                }
            }
        },
        animationDuration: 1500,
        animationEasingUpdate: 'quinticInOut',
        series: [{
            name: '',
            type: 'graph',
            layout: 'force',

            force: {
                //initLayout:'circular'
                edgeLength: 50,
                repulsion: 50,
                gravity: 0.2
            },
            data: data,
            edges: links,
            categories: categories,
            focusNodeAdjacency: true,
            roam: true,
            label: {
                normal: {
                    position: 'right',
                    formatter: '{b}'
                }
            },
            lineStyle: {
                normal: {
                    //color: 'target',
                    curveness: 0
                }
            }
        }]
    };
    myChart.setOption(option);
    if (option && typeof option === "object") {
        var startTime = +new Date();
        myChart.setOption(option, true);
        var endTime = +new Date();
        var updateTime = endTime - startTime;
        console.log("Time used:", updateTime);
    }
})
    
截图如下