src/chart/sankey/sankeyLayout.js
function computeNodeValues(nodes) {
    zrUtil.each(nodes, function (node) {
        var value1 = sum(node.outEdges, getEdgeValue);
        var value2 = sum(node.inEdges, getEdgeValue);
        var value = Math.max(value1, value2);
        node.setLayout({value: value}, true);
    });
}
function computeNodeValues(nodes) {
    zrUtil.each(nodes, function (node) {
        var value1 = sum(node.outEdges, getEdgeValue);
        var value2 = sum(node.inEdges, getEdgeValue);
        var value = Math.max(value1, value2);
        node.setLayout({value: value}, true);
    });
}
function computeNodeValues ( nodes ) { zrUtil . each ( nodes , function ( node ) { var value1 = sum ( node . outEdges , getEdgeValue ) ; var value2 = sum ( node . inEdges , getEdgeValue ) ; var value = Math . max ( value1 , value2 ) ; node . setLayout ( { value : value } , true ) ; } ) ; }
Compute the value of each node by summing the associated edge's value

@param {module:echarts/data/Graph~Node} nodes  node of sankey view
Compute the value of each node by summing the associated edge s value