series[i]-graph.focusNodeAdjacency

描述:当前是关于Echarts图表中的 关系图 示例。
 
            option = {
    title: {
        text: 'Graph 简单示例'
    },
    tooltip: {},
    animationDurationUpdate: 1500,
    animationEasingUpdate: 'quinticInOut',
    series : [
        {
            type: 'graph',
            layout: 'none',
            symbolSize: 50,
            roam: true,
            focusNodeAdjacency: true,
            data: [{
                name: '节点1',
                x: 300,
                y: 300
            },{
                name: '节点3',
                x: 550,
                y: 100
            }],
            // links: [],
            links: [{
                source: '节点1',
                target: '节点3'
            }],
            itemStyle: {
                emphasis: {
                    color: 'blue'
                }
            },
            lineStyle: {
                normal: {
                    opacity: 0.9,
                    width: 2,
                    curveness: 0
                },
                emphasis: {
                    color: 'blue'
                }
            }
        }
    ]
};