function removeEdge(succComponentType) {
            graph[succComponentType].entryCount--;
            if (graph[succComponentType].entryCount === 0) {
                stack.push(succComponentType);
            }
        }
Linear mapping a value from domain to range
@memberOf module:echarts/util/number
@param  {(number|Array.<number>)} val
@param  {Array.<number>} domain Domain extent domain[0] can be bigger than domain[1]
@param  {Array.<number>} range  Range extent range[0] can be bigger than range[1]
@param  {boolean} clamp
@return {(number|Array.<number>}