echarts grapgGL
this.KnowledgeOP.setOption({
tooltip: {
show: false,
},
legend: [{
selectedMode: false,
// selectedMode: "single",
data: categories.map(a => a.name),
}],
series: [
{
cursor: "auto",
/* name: "Les Miserables", */
type: "graphGL",
layout: "forceAtlas2",
data: fliterNodes,
links,
categories,
//
symbolSize: 30,
focusNodeAdjacencyOn: "none",
forceAtlas2: {
stopThreshold: 1,
//
steps: 30,
//
gravity: 500,
//
scaling: 1111,
/* linLogMode:true, */
preventOverlap: true,
/* jitterTolerence: 10,
edgeWeightInfluence: 4
*/
},
//
roam: true,
label: {
normal: {
show: true,
textStyle: {
fontSize: 14,
},
},
},
},
],
});