function compute_text_size(text) {
            if (!text) {
                return 0;
            }
            return font_size * text.length * 0.6;
        }
computes the minimum size of a node according to its inputs and output slots
@method computeSize
@param {number} minHeight
@return {number} the total size