function moveSinksRight(nodes, maxDepth) {
    zrUtil.each(nodes, function (node) {
        if (!isNodeDepth(node) && !node.outEdges.length) {
            node.setLayout({depth: maxDepth}, true);
        }
    });
}
function moveSinksRight(nodes, maxDepth) {
    zrUtil.each(nodes, function (node) {
        if (!isNodeDepth(node) && !node.outEdges.length) {
            node.setLayout({depth: maxDepth}, true);
        }
    });
}
function moveSinksRight ( nodes , maxDepth ) { zrUtil . each ( nodes , function ( node ) { if ( ! isNodeDepth ( node ) && ! node . outEdges . length ) { node . setLayout ( { depth : maxDepth } , true ) ; } } ) ; }
All the node without outEgdes are assigned maximum x-position and
be aligned in the last column.

@param {module:echarts/data/Graph~Node} nodes.  node of sankey view.
@param {number} maxDepth.  use to assign to node without outEdges as x-position.
All the node without outEgdes are assigned maximum x - position and be aligned in the last column .
Move sinks right