/** * * 测试关系图 graph type* */var coors1 = [['1', 0],['2', 182],['5', 290],['6', 330],['7', 310],['10',300]];var data = [coors1];var optionSeries = [];for (var i = 0; i < data.length; i++) {var links = data[i].map(function(item, j) {return {source: j,t…