I think `longestTaskName` should still be used to figure out the remaining space for the graph, but the comparison for `longestTaskName` needs to be aware of the max length a task name can be considering it will be condensed if too long.